Exemple #1
0
 public ThirdPartyAppHandlerService(
     IOptionsMonitor <ILog> optionsMonitor,
     AuthContext authContext,
     BaseCommonLinkUtility baseCommonLinkUtility,
     CommonLinkUtility commonLinkUtility)
 {
     AuthContext       = authContext;
     CommonLinkUtility = commonLinkUtility;
     Log         = optionsMonitor.CurrentValue;
     HandlerPath = baseCommonLinkUtility.ToAbsolute("~/thirdpartyapp");
 }
Exemple #2
0
 public PathProvider(BaseCommonLinkUtility commonLinkUtility)
 {
     BaseVirtualPath = "~/Products/Projects/";
     try
     {
         BaseAbsolutePath = commonLinkUtility.ToAbsolute(BaseVirtualPath);
     }
     catch (Exception)
     {
         BaseAbsolutePath = BaseVirtualPath;
     }
 }
 public ThirdPartyAppHandler(
     RequestDelegate next,
     IOptionsMonitor <ILog> optionsMonitor,
     AuthContext authContext,
     BaseCommonLinkUtility baseCommonLinkUtility,
     CommonLinkUtility commonLinkUtility)
 {
     Next                  = next;
     AuthContext           = authContext;
     BaseCommonLinkUtility = baseCommonLinkUtility;
     CommonLinkUtility     = commonLinkUtility;
     Log         = optionsMonitor.CurrentValue;
     HandlerPath = baseCommonLinkUtility.ToAbsolute("~/thirdpartyapp");
 }
Exemple #4
0
 public PathProvider(
     WebImageSupplier webImageSupplier,
     IDaoFactory daoFactory,
     CommonLinkUtility commonLinkUtility,
     FilesLinkUtility filesLinkUtility,
     EmailValidationKeyProvider emailValidationKeyProvider,
     GlobalStore globalStore,
     BaseCommonLinkUtility baseCommonLinkUtility)
 {
     WebImageSupplier           = webImageSupplier;
     DaoFactory                 = daoFactory;
     CommonLinkUtility          = commonLinkUtility;
     FilesLinkUtility           = filesLinkUtility;
     EmailValidationKeyProvider = emailValidationKeyProvider;
     GlobalStore                = globalStore;
     BaseCommonLinkUtility      = baseCommonLinkUtility;
     GetFileServicePath         = BaseCommonLinkUtility.ToAbsolute("~/Products/Files/Services/WCFService/service.svc/");
 }
Exemple #5
0
 public static string ToAbsolute(string virtualPath)
 {
     return(BaseCommonLinkUtility.ToAbsolute(virtualPath));
 }