public static IExternalUsersSource getInstance() { lock (padlock) { if (instance == null) { instance = new FakeWSExternalUsersSource(); } return(instance); } }
public upsbrowser() : base() { UPSBrowserLogger.LogDebug(loggingCategory, "upsbrowser constructor invoked"); //upsUsersDAL = FakeUPSUsersDAL.getInstance(); upsUsersDAL = new UPSUsersDAL(); //externalUsersSource = FakeWSExternalUsersSource.getInstance(); externalUsersSource = new WSExternalUsersSource(); identityProvidersHelper = new IdentityProvidersHelper(); certsHelper = new TokenSigningCertificatesHelper(); LoadSettings(); }