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); }
public static CContainer CreateContainer() => CContainer.Create();