DOFPermission MethodsOpenDOF Object Access Library

The DOFPermission type exposes the following members.

Methods

  NameDescription
Public methodStatic memberaddFactory
Add a new DOFPermissionFactory that can be used to create permissions from serialized form.
Public methodStatic membercreate(Byte)
Creates and returns a Permission object of the correct type from a byte array of data.
Public methodStatic membercreate(DOFMarshalContext, DOFPacket)
Creates and returns a Permission object of the correct type by removing it from the front of a BufferedPacket.
Public methodEquals (Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodgetBytes
Get the serialized bytes of the permission.
Public methodgetComplement
Return the complement permission for this permission.
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodgetPermissionType
Returns the type of the permission.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodisAllowedBy(DOFPermission)
Returns whether or not this Permission is a subset of the permissions allowed by the specified Permission.
Public methodisAllowedBy(DOFPermissionSet)
Returns whether or not this permission is a subset of the permissions allowed by the specified permission set.
Public methodisExplicit
Returns whether or not this permission is considered explicit.
Public methodisIntersection
Returns whether or not this permission has an intersection with the specified permission.
Public methodisTerminal
Returns whether or not this permission is a terminal permission.
Public methodmarshal

This method is not used for custom permissions.

Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodnormalize
Normalize this permission.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference