ISecurable Interface |
Defines semantics of declarations that can be secured by
permission sets
(TypeDefDeclaration, MethodDefDeclaration,
AssemblyManifestDeclaration).
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public interface ISecurable : IMetadataDeclaration, IDeclaration, IElement, IModuleElement, ITaggable
The ISecurable type exposes the following members.
Name | Description | |
---|---|---|
CustomAttributes |
Gets the collection of custom attributes.
(Inherited from IMetadataDeclaration.) | |
DeclaringAssembly |
Gets the declaring assembly.
(Inherited from IModuleElement.) | |
Domain |
Gets the Domain to which the current element belongs.
(Inherited from IElement.) | |
MetadataToken |
Gets the metadata token of the current declaration.
(Inherited from IMetadataDeclaration.) | |
Module |
Gets the declaring module.
(Inherited from IModuleElement.) | |
Parent |
Gets the direct parent of the current element.
(Inherited from IElement.) | |
ParentMember |
Gets the parent member of the current declaration.
(Inherited from IMetadataDeclaration.) | |
ParentType |
Gets the parent type of the current declaration.
(Inherited from IMetadataDeclaration.) | |
PermissionSets |
Gets the collection of permission sets (PermissionSetDeclaration).
|
Name | Description | |
---|---|---|
GetReflectionObject |
Gets the system, runtime object (Type, FieldInfo, MethodInfo,
ParameterInfo, ...) corresponding to the current declaration.
(Inherited from IMetadataDeclaration.) | |
GetTag<T> |
Gets a tag associated with the current declaration.
(Inherited from ITaggable.) | |
GetTokenType |
Gets the metadata token type of the current declaration.
(Inherited from IMetadataDeclaration.) | |
SetTag<T> |
Set a tag to the current declaration.
(Inherited from ITaggable.) | |
Translate |
Translates the current element so that it can be used in a given module.
(Inherited from IModuleElement.) |