/// <summary> /// Default constructor /// </summary> private AssistantWrapper() { CoreBuilder coreBuilder = CoreBuilder.GetInstance(); this.IAssistantMgr = coreBuilder.GetManager <IAssistantMgr>(CoreBuilder.IASSISTANTMGR); this.IEventMgr = coreBuilder.GetManager <IEventMgr>(CoreBuilder.IEVENTMGR); this.EmailWrapper = EmailWrapper.GetInstance(); }
/// <summary> /// Default constructor /// </summary> private InvitationWrapper() { CoreBuilder coreBuilder = CoreBuilder.GetInstance(); this.IInvitationMgr = coreBuilder.GetManager <IInvitationMgr>(CoreBuilder.IINVITATIONMGR); this.IAssistantMgr = coreBuilder.GetManager <IAssistantMgr>(CoreBuilder.IASSISTANTMGR); this.IEventMgr = coreBuilder.GetManager <IEventMgr>(CoreBuilder.IEVENTMGR); this.EmailWrapper = EmailWrapper.GetInstance(); }
/// <summary> /// Default constructor /// </summary> private PassengerWrapper() { CoreBuilder coreBuilder = CoreBuilder.GetInstance(); this.IPassengerMgr = coreBuilder.GetManager <IPassengerMgr>(CoreBuilder.IPASSENGERMGR); this.ITransportMgr = coreBuilder.GetManager <ITransportMgr>(CoreBuilder.ITRANSPORTMGR); this.ICarMgr = coreBuilder.GetManager <ICarMgr>(CoreBuilder.ICARMGR); this.IEventMgr = coreBuilder.GetManager <IEventMgr>(CoreBuilder.IEVENTMGR); this.EmailWrapper = EmailWrapper.GetInstance(); }
/// <summary> /// Default constructor /// </summary> private EventWrapper() { CoreBuilder coreBuilder = CoreBuilder.GetInstance(); this.IEventMgr = coreBuilder.GetManager <IEventMgr>(CoreBuilder.IEVENTMGR); this.IAddressMgr = coreBuilder.GetManager <IAddressMgr>(CoreBuilder.IADDRESSMGR); this.IDepartmentMgr = coreBuilder.GetManager <IDepartmentMgr>(CoreBuilder.IDEPARTMENTMGR); this.IEventGroupMgr = coreBuilder.GetManager <IEventGroupMgr>(CoreBuilder.IEVENTGROUPMGR); this.IEventGroupDepartmentMgr = coreBuilder.GetManager <IEventGroupDepartmentMgr>(CoreBuilder.IEVENTGROUPDEPARTMENTMGR); this.IAssistantMgr = coreBuilder.GetManager <IAssistantMgr>(CoreBuilder.IASSISTANTMGR); this.EmailWrapper = EmailWrapper.GetInstance(); }
/// <summary> /// Default constructor /// </summary> private ParticipanWrapper() { CoreBuilder coreBuilder = CoreBuilder.GetInstance(); this.IEventMgr = coreBuilder.GetManager <IEventMgr>(CoreBuilder.IEVENTMGR); this.IEventGroupMgr = coreBuilder.GetManager <IEventGroupMgr>(CoreBuilder.IEVENTGROUPMGR); this.IEventGroupDepartmentMgr = coreBuilder.GetManager <IEventGroupDepartmentMgr>(CoreBuilder.IEVENTGROUPDEPARTMENTMGR); this.IAssistantMgr = coreBuilder.GetManager <IAssistantMgr>(CoreBuilder.IASSISTANTMGR); this.IParticipantMgr = coreBuilder.GetManager <IParticipantMgr>(CoreBuilder.IPARTICIPANTMGR); this.IUserDepartmentMgr = coreBuilder.GetManager <IUserDepartmentMgr>(CoreBuilder.IUSERDEPARTMENTMGR); this.EmailWrapper = EmailWrapper.GetInstance(); }
/// <summary> /// Name: GetInstance /// Description: /// </summary> /// <returns></returns> public static EmailWrapper GetInstance() { return(Singleton == null ? Singleton = new EmailWrapper() : Singleton); }