/// <summary> /// /// </summary> private DomainFacade(IPlugin pPlugin) { cPlugin = pPlugin; cInfrastructure = InfrastructureFacade.getInstance(pPlugin); cObserverList = new List <IObserver>(); cRecordList = new List <ApplicationRecord>(); }
/// <summary> /// Create single instance /// </summary> /// <returns></returns> public static InfrastructureFacade getInstance(IPlugin pPlugin) { if (cInstance == null) { cInstance = new InfrastructureFacade(pPlugin); } return(cInstance); }