public ParameterizedAwareTypeDefaults(ITypeDefaults previous, IQueriedConstructors constructors,
                                       ITypeDefaults defaults)
 {
     _previous     = previous;
     _constructors = constructors;
     _defaults     = defaults;
 }
Пример #2
0
 public Store(ITableSource <string, object> store, IParameterizedSource <string, IMember> members,
              ITypeDefaults defaults)
 {
     _store    = store;
     _members  = members;
     _defaults = defaults;
 }
Пример #3
0
 // ReSharper disable once TooManyDependencies
 public ParameterizedActivators(IActivators activators, IQueriedConstructors constructors,
                                IConstructorMembers members, IMemberAccessors accessors, ITypeDefaults defaults)
 {
     _activators   = activators;
     _constructors = constructors;
     _members      = members;
     _accessors    = accessors;
     _defaults     = defaults;
 }
Пример #4
0
 // ReSharper disable once TooManyDependencies
 public ActivationContexts(IMemberAccessors accessors, MemberContext members,
                           ITableSource <string, IMember> table,
                           Func <Func <string, object>, IActivator> activator,
                           ITypeDefaults defaults
                           )
 {
     _accessors = accessors;
     _members   = members;
     _table     = table;
     _activator = activator;
     _defaults  = defaults;
 }
Пример #5
0
 public MarkupExtensionPartsEvaluator(IParser <MemberInfo> parser, IEvaluator evaluator, ITypeMembers members,
                                      IMemberAccessors accessors, IConstructors constructors,
                                      System.IServiceProvider provider, IFormatter <TypeParts> formatter,
                                      ITypeDefaults defaults,
                                      params object[] services)
 {
     _parser       = parser;
     _evaluator    = evaluator;
     _members      = members;
     _accessors    = accessors;
     _constructors = constructors;
     _provider     = provider;
     _formatter    = formatter;
     _defaults     = defaults;
     _services     = services;
 }
 public TypeMemberDefaults(ITypeDefaults defaults)
 {
     _defaults = defaults;
 }
Пример #7
0
 // ReSharper disable once TooManyDependencies
 public ActivationContexts(IMemberAccessors accessors, MemberContext members,
                           Func <Func <string, object>, IActivator> activator, ITypeDefaults defaults)
     : this(accessors, members,
            new TableSource <string, IMember>(members.Members
                                              .ToDictionary(x => x.Name,
                                                            StringComparer.InvariantCultureIgnoreCase)),
            activator, defaults)
 {
 }
Пример #8
0
 // ReSharper disable once TooManyDependencies
 public ActivationContexts(IMemberAccessors accessors, MemberContext members, IActivator activator,
                           ITypeDefaults defaults)
     : this(accessors, members, activator.Accept, defaults)
 {
 }
 public ParameterizedAwareTypeDefaults(ITypeDefaults previous, IQueriedConstructors constructors)
     : this(previous, constructors, DefaultValueTypeDefaults.Default)
 {
 }