public ContextControllerKeyed( ContextManagerRealization realization, ContextControllerKeyedFactory factory) : base(realization) { this.factory = factory; }
public ContextControllerKeyedImpl( ContextControllerKeyedFactory factory, ContextManagerRealization realization) : base(realization, factory) { keyedSvc = ContextControllerKeyedUtil.GetService(factory, realization); }
protected internal static ContextControllerKeyedSvc GetService( ContextControllerKeyedFactory factory, ContextManagerRealization realization) { if (factory.FactoryEnv.IsRoot) { return new ContextControllerKeyedSvcLevelOne(); } return new ContextControllerKeyedSvcLevelAny(); }