本文整理汇总了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();
}
示例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();
}
示例3: MyClassInitialize
public static void MyClassInitialize(TestContext testContext)
{
IConfigSource configSource = Helper.ConfigSource_MessageDispatcher;
application = AppRuntime.Create(configSource);
application.Initialize += Helper.AppInit_MessageDispatcher;
application.Start();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例8: MyClassInitialize
public static void MyClassInitialize(TestContext testContext)
{
IConfigSource configSource = Helper.ConfigSource_DomainEvents;
application = AppRuntime.Create(configSource);
application.Start();
}
示例9: Start
public void Start()
{
// start the web application
_fuApp = _fuApp ?? _container.Resolve<IApp>();
_fuApp.Start();
}