Class MemberAccessPermission
Representation of a single members permission state.
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.Security
Assembly: TimeCockpit.Data.dll
Syntax
public class MemberAccessPermission : DynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged
Constructors
MemberAccessPermission(EntityObject, ModelElement)
Initializes a new instance of the MemberAccessPermission class.
Declaration
public MemberAccessPermission(EntityObject entityObject, ModelElement modelElement)
Parameters
Type | Name | Description |
---|---|---|
EntityObject | entityObject | Related entity object. |
ModelElement | modelElement | Related model property/member. |
Methods
GetMember(String)
Gets the permission of a related EntityObject member.
Declaration
public override object GetMember(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the EntityObject member to get the permission for. |
Returns
Type | Description |
---|---|
System.Object | Permission of the EntityObject member. |
Overrides
OnPropertyChanged(String)
Invoked whenever the value of any property on this object has been updated. The specific property that changed is reported in the event data.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Name of the property that has been updated. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |