Table of Contents

Class MemberAccessPermission

Namespace
TimeCockpit.Data.Security
Assembly
TimeCockpit.Data.dll

Representation of a single members permission state.

public class MemberAccessPermission : DynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged
Inheritance
Object
MemberAccessPermission
Implements
IDynamicMetaObjectProvider
INotifyPropertyChanged
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

MemberAccessPermission(EntityObject, ModelElement)

Initializes a new instance of the MemberAccessPermission class.

public MemberAccessPermission(EntityObject entityObject, ModelElement modelElement)

Parameters

entityObject EntityObject

Related entity object.

modelElement ModelElement

Related model property/member.

Methods

GetMember(String)

Gets the permission of a related EntityObject member.

public override object GetMember(string name)

Parameters

name String

Name of the EntityObject member to get the permission for.

Returns

Object

Permission of the EntityObject member.

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.

protected void OnPropertyChanged(string propertyName)

Parameters

propertyName String

Name of the property that has been updated.

Events

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler