public static IPopulateBoxes <IWeakTypeReference> PopulateBoxes(IResolvableScope scope, Box <IIsPossibly <WeakTypeDefinition> > definitionBox, WeakTypeReference typeReferance, IKey key) { return(new TypeDefinitionResolveReference(scope, definitionBox, typeReferance, key)); }
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)); }
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)); }
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)); }