Свойство | Тип | Описание | |
---|---|---|---|
Dispose | void | ||
ExtractWeaveAttributesByTargetTypes | List | ||
FindAndInvokeWeavers | void | ||
GetWeaverFor | IWeave | ||
IPartImportsSatisfiedNotification | void |
Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Releases resources used by the ModuleWeaver in a deterministic manner
|
|
Execute ( ) : void |
Executes the Cilador code weaving logic. When run as a Fody addin withing Visual Studio, Fody invokes this method after setting all configuration data. |
|
ModuleWeaver ( ) : System |
Creates a new ModuleWeaver.
|
|
ReadCiladorConfig ( System.Xml.Linq.XElement config ) : CiladorConfigType |
Deserializes a CiladorConfigType from within a config. XElement The configuration type, CiladorConfigType, is primarily generated from WeaveConfig.xsd. |
Метод | Описание | |
---|---|---|
Dispose ( bool isDisposing ) : void |
Releases resources used by the ModuleWeaver
|
|
ExtractWeaveAttributesByTargetTypes ( ) : List |
Looks at all types within the target assembly, and collects any that are annotated with weave attributes. Weave command attributes are removed from types as they are gathered.
|
|
FindAndInvokeWeavers ( Mono.Cecil.TypeDefinition targetType, List |
Looks up commands indicated by weave attributes thorugh configuration, and then executes each command.
|
|
GetWeaverFor ( Mono.Cecil.TypeDefinition targetType, |
Finds the weave that corresponds to a given weave attribute for a type
|
|
IPartImportsSatisfiedNotification ( ) : void |
Called by MEF when a part's imports have been satisfied and it is safe to use. For this type, it rebuilds some configuration information based on the imported weaver.
|
public static ReadCiladorConfig ( System.Xml.Linq.XElement config ) : CiladorConfigType | ||
config | System.Xml.Linq.XElement | Item that contains the serialized config element. |
Результат | CiladorConfigType |