C# Class GSF.Windows.SecureWindow

Represents a WPF window secured using role-based security.
Inheritance: System.Windows.Window
Afficher le fichier Open project: GridProtectionAlliance/gsf

Méthodes publiques

Свойство Type Description
ForceLoginDisplayProperty System.Windows.DependencyProperty
IncludedRolesProperty System.Windows.DependencyProperty
ResourceAccessiblityProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
SecureWindow ( ) : System

Initializes a new instance of the SecureWindow class.

Méthodes protégées

Méthode Description
GetResourceName ( ) : string

Gets the name of resource being accessed.

Private Methods

Méthode Description
IsResourceAccessible ( string resource ) : bool
SecureWindow_Initialized ( object sender, EventArgs e ) : void
ShowSecurityDialog ( DisplayType displayType, string errorMessage = null ) : void

Method Details

GetResourceName() protected méthode

Gets the name of resource being accessed.
protected GetResourceName ( ) : string
Résultat string

SecureWindow() public méthode

Initializes a new instance of the SecureWindow class.
public SecureWindow ( ) : System
Résultat System

Property Details

ForceLoginDisplayProperty public_oe static_oe property

Identifies the ForceLoginDisplay dependency property.
public static DependencyProperty,System.Windows ForceLoginDisplayProperty
Résultat System.Windows.DependencyProperty

IncludedRolesProperty public_oe static_oe property

Identifies the IncludedRoles dependency property.
public static DependencyProperty,System.Windows IncludedRolesProperty
Résultat System.Windows.DependencyProperty

ResourceAccessiblityProperty public_oe static_oe property

Identifies the ResourceAccessiblity dependency property.
public static DependencyProperty,System.Windows ResourceAccessiblityProperty
Résultat System.Windows.DependencyProperty