/// <summary>
 /// Initializes a new instance of the <see cref="MethodReflectionNode" /> class.
 /// </summary>
 /// <param name="methodDefinition">The method definition.</param>
 /// <param name="parent">The parent.</param>
 /// <param name="propertyDefinition">The property.</param>
 public MethodReflectionNode(MethodDef methodDefinition, ReflectionNode parent, PropertyDef propertyDefinition = null)
 {
     _methodDefinition   = methodDefinition;
     _propertyDefinition = propertyDefinition;
     Parent = parent;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TypeReflectionNode" /> class.
 /// </summary>
 /// <param name="typeDefinition">The type definition.</param>
 /// <param name="parent">The parent.</param>
 public TypeReflectionNode(TypeDef typeDefinition, ReflectionNode parent)
 {
     TypeDefinition = typeDefinition;
     Parent         = parent;
 }
 public MethodReflectionNode(MethodDef methodDefinition, ReflectionNode parent, EventDef eventDefinition)
 {
     _methodDefinition = methodDefinition;
     _eventDefinition  = eventDefinition;
     Parent            = parent;
 }