ManagedResourceIntroductionAspectConfiguration(string, byte[])
Initializes a new instance of the ManagedResourceIntroductionAspectConfiguration class.
Declaration
public ManagedResourceIntroductionAspectConfiguration(string name, byte[] data)Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the managed resource. |
| byte[] | data | The content of the managed resource. |
ManagedResourceIntroductionAspectConfiguration(string, Func<byte[]>)
Initializes a new instance of the ManagedResourceIntroductionAspectConfiguration class by passing a delegate for late evaluation of the resource content.
Declaration
public ManagedResourceIntroductionAspectConfiguration(string name, Func<byte[]> dataProvider)Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the managed resource. |
| Func<byte[]> | dataProvider | A method that returns the data to be introduced. If the method returns |