예제 #1
0
 public ResolverSelector()
 {
     this.resolverRepository             = ArrayStore <IResolver> .Empty;
     this.multiServiceResolverRepository = ArrayStore <IMultiServiceResolver> .Empty;
     this.unknownTypeResolver            = new UnknownTypeResolver();
     this.parentContainerResolver        = new ParentContainerResolver();
 }
예제 #2
0
 private ResolutionContext(IResolutionScope scope, AvlTreeKeyValue <int, bool> circularDependencyBarrier, AvlTree <Expression> expressionOverrides,
                           AvlTree <Type> currentlyDecoratingTypes, ArrayStore <ArrayStoreKeyed <bool, ParameterExpression> > parameterExpressions, ISet <object> scopeNames,
                           IContainerContext childContext, bool nullResultAllowed, ParameterExpression currentScope, ArrayStoreKeyed <object, ParameterExpression> knownVariables)
 {
     this.DefinedVariables         = ArrayStoreKeyed <object, ParameterExpression> .Empty;
     this.SingleInstructions       = ArrayStore <Expression> .Empty;
     this.expressionOverrides      = expressionOverrides;
     this.currentlyDecoratingTypes = currentlyDecoratingTypes;
     this.NullResultAllowed        = nullResultAllowed;
     this.ResolutionScope          = scope;
     this.RootScope                 = scope.RootScope;
     this.CurrentScopeParameter     = currentScope;
     this.ParameterExpressions      = parameterExpressions;
     this.ChildContext              = childContext;
     this.ScopeNames                = scopeNames;
     this.knownVariables            = knownVariables;
     this.circularDependencyBarrier = circularDependencyBarrier;
 }
예제 #3
0
 public BuildExtensionManager()
 {
     this.repository = ArrayStore <IContainerExtension> .Empty;
 }
예제 #4
0
 // Use this for initialization
 void Start()
 {
     gameStatus     = FindObjectOfType <GameStatus>();
     gameArrayStore = FindObjectOfType <ArrayStore>();
 }