C# Class PropertyWeaver, PropertyChanged

Mostrar archivo Open project: Fody/PropertyChanged Class Usage Examples

Public Methods

Method Description
CallEventInvoker ( Mono.Cecil.PropertyDefinition propertyDefinition ) : Instruction
CreateCall ( MethodReference methodReference ) : Instruction
CreateIsChangedInvoker ( ) : Instruction
Execute ( ) : void
PropertyWeaver ( ModuleWeaver, moduleWeaver, PropertyData, propertyData, TypeNode, typeNode, Mono.Cecil.TypeSystem typeSystem ) : System.Collections.Generic

Private Methods

Method Description
AddBeforeAfterGenericInvokerCall ( int index, Mono.Cecil.PropertyDefinition property ) : int
AddBeforeAfterInvokerCall ( int index, Mono.Cecil.PropertyDefinition property ) : int
AddBeforeAfterOnChangedCall ( int index, Mono.Cecil.PropertyDefinition property, MethodReference methodReference ) : int
AddBeforeVariableAssignment ( int index, Mono.Cecil.PropertyDefinition property, Mono.Cecil.Cil.VariableDefinition beforeVariable ) : int
AddEventInvokeCall ( int index, Mono.Cecil.PropertyDefinition property ) : int
AddIsChangedSetterCall ( int index ) : int
AddOnChangedMethodCall ( int index, Mono.Cecil.PropertyDefinition property ) : int
AddPropertyChangedArgInvokerCall ( int index, Mono.Cecil.PropertyDefinition property ) : int
AddSenderPropertyChangedArgInvokerCall ( int index, Mono.Cecil.PropertyDefinition property ) : int
AddSimpleInvokerCall ( int index, Mono.Cecil.PropertyDefinition property ) : int
AddSimpleOnChangedCall ( int index, MethodReference methodReference ) : int
ContainsCallToMethod ( string onChangingMethodName ) : bool
FindSetFieldInstructions ( ) : IEnumerable
GetIndexes ( ) : List
InjectAtIndex ( int index ) : void
InsertVariableAssignmentFromCurrentValue ( int index, Mono.Cecil.PropertyDefinition property, Mono.Cecil.Cil.VariableDefinition variable ) : int

Method Details

CallEventInvoker() public method

public CallEventInvoker ( Mono.Cecil.PropertyDefinition propertyDefinition ) : Instruction
propertyDefinition Mono.Cecil.PropertyDefinition
return Instruction

CreateCall() public method

public CreateCall ( MethodReference methodReference ) : Instruction
methodReference Mono.Cecil.MethodReference
return Instruction

CreateIsChangedInvoker() public method

public CreateIsChangedInvoker ( ) : Instruction
return Instruction

Execute() public method

public Execute ( ) : void
return void

PropertyWeaver() public method

public PropertyWeaver ( ModuleWeaver, moduleWeaver, PropertyData, propertyData, TypeNode, typeNode, Mono.Cecil.TypeSystem typeSystem ) : System.Collections.Generic
moduleWeaver ModuleWeaver,
propertyData PropertyData,
typeNode TypeNode,
typeSystem Mono.Cecil.TypeSystem
return System.Collections.Generic