public ThirdPartyAppHandlerService( IOptionsMonitor <ILog> optionsMonitor, AuthContext authContext, BaseCommonLinkUtility baseCommonLinkUtility, CommonLinkUtility commonLinkUtility) { AuthContext = authContext; CommonLinkUtility = commonLinkUtility; Log = optionsMonitor.CurrentValue; HandlerPath = baseCommonLinkUtility.ToAbsolute("~/thirdpartyapp"); }
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"); }
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/"); }
public static string ToAbsolute(string virtualPath) { return(BaseCommonLinkUtility.ToAbsolute(virtualPath)); }