コード例 #1
0
 public static IExternalUsersSource getInstance()
 {
     lock (padlock)
     {
         if (instance == null)
         {
             instance = new FakeWSExternalUsersSource();
         }
         return(instance);
     }
 }
コード例 #2
0
        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();
        }