Example #1
0
 public static IPopulateBoxes <IWeakTypeReference> PopulateBoxes(IResolvableScope scope,
                                                                 Box <IIsPossibly <WeakTypeDefinition> > definitionBox,
                                                                 WeakTypeReference typeReferance,
                                                                 IKey key)
 {
     return(new TypeDefinitionResolveReference(scope,
                                               definitionBox,
                                               typeReferance,
                                               key));
 }
Example #2
0
 public TypeDefinitionResolveReference(
     IResolvableScope resolvableScope,
     Box <IIsPossibly <WeakTypeDefinition> > definitionBox,
     WeakTypeReference typeReferance,
     IKey key)
 {
     this.resolvableScope = resolvableScope ?? throw new ArgumentNullException(nameof(resolvableScope));
     this.definitionBox   = definitionBox ?? throw new ArgumentNullException(nameof(definitionBox));
     this.typeReferance   = typeReferance ?? throw new ArgumentNullException(nameof(typeReferance));
     this.key             = key ?? throw new ArgumentNullException(nameof(key));
 }
Example #3
0
 public TypeDefinitionFinalizeScope(
     ISetUpType finalizableScope,
     Box <IIsPossibly <WeakTypeDefinition> > definitionBox,
     WeakTypeReference typeReferance,
     IKey key)
 {
     SetUpSideNode      = finalizableScope ?? throw new ArgumentNullException(nameof(finalizableScope));
     this.definitionBox = definitionBox ?? throw new ArgumentNullException(nameof(definitionBox));
     this.typeReferance = typeReferance ?? throw new ArgumentNullException(nameof(typeReferance));
     this.key           = key ?? throw new ArgumentNullException(nameof(key));
 }
Example #4
0
 public TypeDefinitionPopulateScope(IPopulateScope <IFrontendCodeElement, ISetUpSideNode>[] elements, IKey typeName)
 {
     this.elements = elements ?? throw new ArgumentNullException(nameof(elements));
     key           = typeName ?? throw new ArgumentNullException(nameof(typeName));
     typeReferance = new WeakTypeReference(Possibly.Is(definitionBox));
 }