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

            return new ContextControllerKeyedSvcLevelAny();
        }