static ParameterResolverMap() { resolvers = new Dictionary<Type, IParameterResolver>(); resolvers[typeof (CreateNewAttribute)] = new CreateNewParameterResolver(); resolvers[typeof (DependencyAttribute)] = new DependencyParameterResolver(); resolvers[typeof (ServiceDependencyAttribute)] = new ServiceDependencyParameterResolver(); resolvers[typeof (StateDependencyAttribute)] = new StateDependencyParameterResolver(); resolvers[typeof (ProviderDependencyAttribute)] = new ProviderDependencyParameterResolver(); }
static ParameterResolverMap() { resolvers = new Dictionary <Type, IParameterResolver>(); resolvers[typeof(CreateNewAttribute)] = new CreateNewParameterResolver(); resolvers[typeof(DependencyAttribute)] = new DependencyParameterResolver(); resolvers[typeof(ServiceDependencyAttribute)] = new ServiceDependencyParameterResolver(); resolvers[typeof(StateDependencyAttribute)] = new StateDependencyParameterResolver(); resolvers[typeof(ProviderDependencyAttribute)] = new ProviderDependencyParameterResolver(); }