PermissionSetDeclaration Class |
PostSharp.Sdk.CodeModel.Element
PostSharp.Sdk.CodeModel.Declaration
PostSharp.Sdk.CodeModel.MetadataDeclaration
PostSharp.Sdk.CodeModel.PermissionSetDeclaration
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
public sealed class PermissionSetDeclaration : MetadataDeclaration, ICloneableModuleElement, IModuleElement
The PermissionSetDeclaration type exposes the following members.
Name | Description | |
---|---|---|
PermissionSetDeclaration |
Initializes a new PermissionSetDeclaration.
|
Name | Description | |
---|---|---|
CustomDebuggingInformation | (Inherited from Declaration.) | |
IsOriginal |
Determines whether the current declaration existed in the source assembly.
(Inherited from MetadataDeclaration.) | |
MetadataToken |
Gets or sets the token of the current declaration.
(Inherited from MetadataDeclaration.) | |
OriginalDeclaration |
When the declaration represents another declaration in the source assembly, this property refers to this declaration.
When using GetReflectionObject(Type[], Type[], BindingOptions), the original declaration should actually be retrieved.
(Inherited from MetadataDeclaration.) | |
Parent |
Gets the parent declaration.
| |
ParentMember |
Gets the parent member of the current declaration.
(Overrides MetadataDeclaration.ParentMember.) | |
ParentType |
Gets the parent type of the current declaration.
(Overrides MetadataDeclaration.ParentType.) | |
SecurityAction |
Gets or sets the SecurityAction of the current permission set.
| |
Xml |
Gets the XML representation.
|
Name | Description | |
---|---|---|
ClearCache |
Clear the cache (typically mapping to System.Reflection or,
if the current element is a reference, to the related definition)
of the current Element and all its children.
(Inherited from Element.) | |
Clone |
Creates a clone of the current module element and express this clone for use in a different module.
| |
Dispose | Obsolete. (Inherited from MetadataDeclaration.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetTag<T> |
Gets a tag associated with the current declaration.
(Inherited from MetadataDeclaration.) | |
GetTokenType |
Gets the TokenType of the derived declaration.
(Overrides MetadataDeclaration.GetTokenType().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetTag<T> |
Set a tag to the current declaration.
(Inherited from MetadataDeclaration.) | |
ToString | (Inherited from MetadataDeclaration.) |
Permissions sets are owned by types implementing ISecurable, i.e. types (TypeDefDeclaration) and methods (MethodDefDeclaration).
A permission set can be represented in the PE image either as a serialized custom attributes (in such case the Attributes property is set), either as XML (in such case the Xml property is set).