PostSharp.ILAPI ReferencePost­Sharp.​AspectsManaged­Resource­Introduction­Aspect
Open sandboxFocus

ManagedResourceIntroductionAspect Class

Aspect that, when applied to an assembly, adds a custom attribute to this assembly.

Inheritance
ManagedResourceIntroductionAspect
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public sealed class ManagedResourceIntroductionAspect : Object, 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.

Explicit Interface Implementations

Name Description
IAspectBuildSemantics.GetAspectConfiguration(Object)
IValidableAnnotation.CompileTimeValidate(Object)