コード例 #1
0
 void SetInheritanceMethod(BindingInheritanceMethods method)
 {
     for (int i = 0; i < _bindInfos.Count; i++)
     {
         _bindInfos[i].BindingInheritanceMethod = method;
     }
 }
コード例 #2
0
        void SetInheritanceMethod(BindingInheritanceMethods method)
        {
            BindInfo.BindingInheritanceMethod = method;

            if (SecondaryCopyBindInfo != null)
            {
                SecondaryCopyBindInfo.BindingInheritanceMethod = method;
            }
        }
コード例 #3
0
        void SetInheritanceMethod(BindingInheritanceMethods method)
        {
            BindInfo.BindingInheritanceMethod = method;

            if (_secondaryBindInfos != null)
            {
                foreach (var secondaryBindInfo in _secondaryBindInfos)
                {
                    secondaryBindInfo.BindingInheritanceMethod = method;
                }
            }
        }
コード例 #4
0
 public void Reset()
 {
     MarkAsCreationBinding = true;
     MarkAsUniqueSingleton = false;
     ConcreteIdentifier    = null;
     SaveProvider          = false;
     OnlyBindIfNotBound    = false;
     RequireExplicitScope  = false;
     Identifier            = null;
     ContractTypes.Clear();
     BindingInheritanceMethod = BindingInheritanceMethods.None;
     InvalidBindResponse      = InvalidBindResponses.Assert;
     NonLazy     = false;
     Condition   = null;
     ToChoice    = ToChoices.Self;
     ContextInfo = null;
     ToTypes.Clear();
     Scope = ScopeTypes.Unset;
     Arguments.Clear();
     InstantiatedCallback = null;
 }