C# 클래스 Stiletto.Fody.ModuleWeaver

파일 보기 프로젝트 열기: benjamin-bader/stiletto 1 사용 예제들

공개 메소드들

메소드 설명
EnqueueBaseTypeBinding ( TypeReference typeReference ) : bool
Execute ( ) : void

The entry point when invoked as part of the Fody pipeline.

The workflow here is: Verify that the module is processable Validate that injectable types and modules are individually valid as declared Validate the object graph that they represent, i.e. that complete modules have no unsatisfied dependencies Generate binding and module adapters Generate an ILoader implementation containing the generated adapters Rewrite all Container.Create invocations in the module with Container.CreateWithLoaders invocations, using the generated loader.

ModuleWeaver ( ) : System

비공개 메소드들

메소드 설명
AddModuleToAssemblyDictionary ( Mono.Cecil.ModuleDefinition module, ModuleProcessor moduleProcessor ) : void
BaseResolverOnResolveFailure ( object sender, Mono.Cecil.AssemblyNameReference reference ) : AssemblyDefinition
GatherModulesNeedingProcessing ( ) : IList
GetModuleKey ( Mono.Cecil.ModuleDefinition moduleDefinition ) : string
Initialize ( ) : void

Prepares the weaving environment.

IsModuleProcessable ( Mono.Cecil.ModuleDefinition module ) : bool

Checks the current module for the presence of a marker attribute. If the attribute is present, then the current module has already been processed by this weaver, and processing should halt.

ValidateCompleteGraph ( IList processors ) : void

메소드 상세

EnqueueBaseTypeBinding() 공개 메소드

public EnqueueBaseTypeBinding ( TypeReference typeReference ) : bool
typeReference Mono.Cecil.TypeReference
리턴 bool

Execute() 공개 메소드

The entry point when invoked as part of the Fody pipeline.
The workflow here is: Verify that the module is processable Validate that injectable types and modules are individually valid as declared Validate the object graph that they represent, i.e. that complete modules have no unsatisfied dependencies Generate binding and module adapters Generate an ILoader implementation containing the generated adapters Rewrite all Container.Create invocations in the module with Container.CreateWithLoaders invocations, using the generated loader.
public Execute ( ) : void
리턴 void

ModuleWeaver() 공개 메소드

public ModuleWeaver ( ) : System
리턴 System