Aspect that, when applied to an assembly, adds a custom attribute to this assembly.
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public sealed class ManagedResourceIntroductionAspect : IManagedResourceIntroductionAspect, IAspect, IAspectBuildSemantics, IValidableAnnotation
Constructors
Name | Description |
---|---|
ManagedResourceIntroductionAspect(string, byte[]) | Initializes a new ManagedResourceIntroductionAspect by passing the data as a byte array. |
ManagedResourceIntroductionAspect(string, Func<byte[]>) | Initializes a new ManagedResourceIntroductionAspect by passing a delegate for late evaluation of the resource content. |
Properties
Name | Description |
---|---|
Data | Gets the content of the managed resource. |
DataProvider | Gets a delegate that provides content of the managed resource. |
Name | Gets the name of the managed resource. |