Example #1
0
 public Activation(ISpecification <TypeInfo> specification, IClassification classification,
                   IActivators activators)
 {
     _specification  = specification;
     _classification = classification;
     _activators     = activators;
 }
 // ReSharper disable once TooManyDependencies
 public AllMembersParameterizedActivators(IActivators activators, IQueriedConstructors constructors,
                                          IConstructorMembers members, IMemberAccessors accessors,
                                          ITypeMembers typeMembers)
     : this(activators, constructors, members, accessors, typeMembers,
            new ParameterizedAwareTypeDefaults(TypeDefaults.Defaults.Get(activators), constructors))
 {
 }
 public RegisteredMemberContents(IActivators activators, ISpecification <MemberInfo> specification,
                                 IParameterizedSource <MemberInfo, ISerializer> serializers)
 {
     _activators    = activators;
     _specification = specification;
     _serializers   = serializers;
 }
 public ParameterizedActivators(IActivators activators, IQueriedConstructors constructors,
                                IConstructorMembers members, IMemberAccessors accessors)
 {
     _activators   = activators;
     _constructors = constructors;
     _members      = members;
     _accessors    = accessors;
 }
Example #5
0
 public RuntimeActivator(IActivators activators, IClassification classification, IReader activator,
                         ISpecification <TypeInfo> specification)
 {
     _activators     = activators;
     _classification = classification;
     _activator      = activator;
     _specification  = specification;
 }
Example #6
0
 public MarkupExtensionPartsEvaluator(IActivators activators,
                                      IParser <MemberInfo> parser, IEvaluator evaluator, ITypeMembers members,
                                      IMemberAccessors accessors, IConstructors constructors,
                                      System.IServiceProvider provider,
                                      params object[] services)
     : this(parser, evaluator, members, accessors, constructors, provider, TypePartsFormatter.Default,
            TypeDefaults.Defaults.Get(activators), services)
 {
 }
Example #7
0
 // ReSharper disable once TooManyDependencies
 public MarkupExtensions(IActivators activators, IEvaluator evaluator, ITypeMembers members,
                         IMemberAccessors accessors, IConstructors constructors,
                         System.IServiceProvider provider)
 {
     _activators   = activators;
     _evaluator    = evaluator;
     _members      = members;
     _accessors    = accessors;
     _constructors = constructors;
     _provider     = provider;
 }
 // ReSharper disable once TooManyDependencies
 public AllMembersParameterizedActivators(IActivators activators, IQueriedConstructors constructors,
                                          IConstructorMembers members, IMemberAccessors accessors,
                                          ITypeMembers typeMembers, ITypeDefaults defaults)
 {
     _activators   = activators;
     _constructors = constructors;
     _members      = members;
     _accessors    = accessors;
     _typeMembers  = typeMembers;
     _defaults     = defaults;
 }
Example #9
0
 public RegisteredContents(IActivators activators, ICustomSerializers serializers)
 {
     _activators  = activators;
     _serializers = serializers;
 }
Example #10
0
 public RuntimeActivator(IActivators activators, IClassification classification, IReader activator)
 {
     _activators     = activators;
     _classification = classification;
     _activator      = activator;
 }
Example #11
0
 public Activation(IClassification classification, IActivators activators)
     : this(ReflectionModel.VariableTypeSpecification.Default, classification, activators)
 {
 }
Example #12
0
 public TypeDefaults(IActivators activators)
 {
     _activators = activators;
 }
Example #13
0
 // ReSharper disable once TooManyDependencies
 public ActivationContexts(IActivators activators, IMemberAccessors accessors, MemberContext members,
                           IActivator activator)
     : this(accessors, members, activator, TypeDefaults.Defaults.Get(activators))
 {
 }
 public RegisteredMemberContents(IActivators activators, ICustomMemberSerializers serializers)
     : this(activators, serializers.Or(IsDefinedSpecification <ContentSerializerAttribute> .Default), serializers)
 {
 }
Example #15
0
 public static T New <T>(this IActivators @this, Type type) => (T)@this.Get(type)
 .Get();
Example #16
0
 public static T New <T>(this IActivators @this) => New <T>(@this, typeof(T));
Example #17
0
 public Activators(IActivators activators)
     : this(ActivatingTypeSpecification.Default, activators, SingletonLocator.Default)
 {
 }
Example #18
0
 public RuntimeActivator(IActivators activators, IClassification classification, IReader activator)
     : this(activators, classification, activator, Specification)
 {
 }
 public Activators(IActivatingTypeSpecification specification, IActivators activators, ISingletonLocator locator)
 {
     _specification = specification;
     _activators    = activators;
     _locator       = locator;
 }
Example #20
0
 public Activators(IActivators activators, ISingletonLocator locator)
 {
     _activators = activators;
     _locator    = locator;
 }