当前位置: 首页>>代码示例>>C#>>正文


C# IApp.Start方法代码示例

本文整理汇总了C#中IApp.Start方法的典型用法代码示例。如果您正苦于以下问题:C# IApp.Start方法的具体用法?C# IApp.Start怎么用?C# IApp.Start使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IApp的用法示例。


在下文中一共展示了IApp.Start方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: MyClassInitialize

 public static void MyClassInitialize(TestContext testContext)
 {
     IConfigSource configSource = Helper.ConfigSource_Repositories_RegularDomainRepository;
     application = AppRuntime.Create(configSource);
     application.Initialize += new EventHandler<AppInitEventArgs>(Helper.AppInit_Repositories_RegularDomainRepository);
     application.Start();
 }
开发者ID:WuLex,项目名称:Apworks,代码行数:7,代码来源:RegularDomainRepositoryTests.cs

示例2: MyClassInitialize

 public static void MyClassInitialize(TestContext testContext)
 {
     IConfigSource configSource = Helper.ConfigSource_EventStore_SqlExpress;
     application = AppRuntime.Create(configSource);
     application.Initialize += new System.EventHandler<AppInitEventArgs>(Helper.AppInit_EventStore_SqlExpress);
     application.Start();
 }
开发者ID:FerminYang,项目名称:Apworks,代码行数:7,代码来源:SqlExpressEventStorageTests.cs

示例3: MyClassInitialize

 public static void MyClassInitialize(TestContext testContext)
 {
     IConfigSource configSource = Helper.ConfigSource_MessageDispatcher;
     application = AppRuntime.Create(configSource);
     application.Initialize += Helper.AppInit_MessageDispatcher;
     application.Start();
 }
开发者ID:WuLex,项目名称:Apworks,代码行数:7,代码来源:MessageDispatcherTests.cs

示例4: MyClassInitialize

 public static void MyClassInitialize(TestContext testContext)
 {
     IConfigSource configSource = Helper.ConfigSource_ExceptionHandling;
     application = AppRuntime.Create(configSource);
     application.Initialize += Helper.AppInit_ExceptionHandling_InvalidStorage;
     application.Start();
 }
开发者ID:Cassaba,项目名称:Apworks,代码行数:7,代码来源:ExceptionHandlingTests.cs

示例5: MyClassInitialize

 public static void MyClassInitialize(TestContext testContext)
 {
     IConfigSource configSource = Helper.ConfigSource_Buses_EventSourcedDomainRepositoryWithDirectCommandBusButWithoutSnapshotProvider;
     application = AppRuntime.Create(configSource);
     application.Initialize += new EventHandler<AppInitEventArgs>(Helper.AppInit_Buses_EventSourcedDomainRepositoryWithDirectCommandBusButWithoutSnapshotProvider);
     application.Start();
 }
开发者ID:Cassaba,项目名称:Apworks,代码行数:7,代码来源:CommandBusTests.cs

示例6: MyClassInitialize

 public static void MyClassInitialize(TestContext testContext)
 {
     IConfigSource configSource = Helper.ConfigSource_AggregateRootVersion;
     application = AppRuntime.Create(configSource);
     application.Initialize += new System.EventHandler<AppInitEventArgs>(Helper.AppInit_Repositories_EventSourcedDomainRepositoryWithDirectEventBusButWithoutSnapshotProvider);
     application.Start();
 }
开发者ID:WuLex,项目名称:Apworks,代码行数:7,代码来源:AggregateRootVersionTests.cs

示例7: MyClassInitialize

 public static void MyClassInitialize(TestContext testContext)
 {
     Database.SetInitializer<EFTestContext>(new DropCreateDatabaseIfModelChanges<EFTestContext>());
     IConfigSource configSource = Helper.ConfigSource_EFRepository;
     application = AppRuntime.Create(configSource);
     application.Initialize += new EventHandler<AppInitEventArgs>(Helper.AppInit_EFRepository);
     application.Start();
 }
开发者ID:Cassaba,项目名称:Apworks,代码行数:8,代码来源:EFRepositoryTests.cs

示例8: MyClassInitialize

 public static void MyClassInitialize(TestContext testContext)
 {
     IConfigSource configSource = Helper.ConfigSource_DomainEvents;
     application = AppRuntime.Create(configSource);
     application.Start();
 }
开发者ID:FerminYang,项目名称:Apworks,代码行数:6,代码来源:DomainEventTests.cs

示例9: Start

 public void Start()
 {
     // start the web application
       _fuApp = _fuApp ?? _container.Resolve<IApp>();
       _fuApp.Start();
 }
开发者ID:chakrit,项目名称:toast,代码行数:6,代码来源:ToastApp.cs


注:本文中的IApp.Start方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。