コード例 #1
0
ファイル: ServiceFactoryTests.cs プロジェクト: shekng/sem
        public void TestProperties()
        {
            ServiceFactory serviceFactory = new MockServiceFactory();

            serviceFactory.Config = config;
            Assert.AreEqual(config, serviceFactory.Config);
        }
コード例 #2
0
ファイル: Authentication.cs プロジェクト: TK20466/CTG-UoW
        public AuthenticationFilter() : base()
        {
            IServiceFactory factory = new MockServiceFactory();

            AuthenticationService = factory.CreateAuthenticationService();
        }