Open sandboxFocusImprove this doc

Adding Aspects Dynamically

Additionally to providing advices, an aspect can provide other aspects dynamically using IAspectProvider. This allows aspect developers to address situations where it is not possible to add aspects declaratively (using custom attributes) to the source code; aspects can be provided on the basis of a complex analysis of the target assembly using System.Reflection, or by reading an XML file, for instance.

For details about IAspectProvider, see Adding Aspects Programmatically using IAspectProvider.

See Also

Reference

IAspectProvider
Other Resources

Adding Aspects Programmatically using IAspectProvider