示例#1
0
        public OverridingIdentityGeneratorFactory(
            [NotNull] IdentityGeneratorFactory overridingFactory, [NotNull] IdentityGeneratorFactory defaultFactory)
        {
            Check.NotNull(overridingFactory, "overridingFactory");
            Check.NotNull(defaultFactory, "defaultFactory");

            _overridingFactory = overridingFactory;
            _defaultFactory    = defaultFactory;
        }
        public ActiveIdentityGenerators([NotNull] IdentityGeneratorFactory factory)
        {
            Check.NotNull(factory, "factory");

            _factory = factory;
        }