Example #1
0
 public ElementReferenceCollectionBuilderImpl(Type childElementType, Type referenceTargetClass, ChildElementCollectionImpl <Source> collection)
 {
     referenceTargetClass                = typeof(Target);
     this.childElementType               = childElementType;
     this.referenceTargetClass           = referenceTargetClass;
     this.elementReferenceCollectionImpl = new ElementReferenceCollectionImpl <Target, Source>(collection);
 }
Example #2
0
 public CollectionAnonymousInnerClass(ElementReferenceCollectionImpl <Target, Source> outerInstance, ModelElementInstanceImpl referenceSourceParentElement)
 {
     this.outerInstance = outerInstance;
     this.referenceSourceParentElement = referenceSourceParentElement;
 }