コード例 #1
0
 private static void ConfigureContainer(ref CContainer container)
 {
     container.Register <ICMessageInChatInfoDataProvider, CMessageInChatInfoDataProvider>(ELifeCycle.Transient);
     container.Register <ICMessageInfoDataProvider, CMessageInfoDataProvider>(ELifeCycle.Transient);
     container.Register <ICUserInfoDataProvider, CUserInfoDataProvider>(ELifeCycle.Transient);
     container.Register <CDataStorageSettings>(ELifeCycle.Transient);
 }
コード例 #2
0
 public static CContainer CreateContainer() => CContainer.Create();