public string GetSubFolderPath(string filename = null) { NameParser parser = new NameParser(NameParserType.URL); string path = parser.Parse(SubFolderPath.Replace("%host", Host)); return(Helpers.CombineURL(path, filename)); }
private AzureAppendLogDto GenerateLogDto(LogEventInfo logEvent) { var azureLogDto = new AzureAppendLogDto { ContainerRef = _client.GetContainerReference(Container.Render(logEvent)) }; azureLogDto.BlobRef = azureLogDto.ContainerRef.GetAppendBlobReference(Path.Combine(SubFolderPath.Render(logEvent), BlobName.Render(logEvent))); azureLogDto.LogEvent = logEvent; return(azureLogDto); }
public string GetSubFolderPath(string filename = null, NameParserType nameParserType = NameParserType.URL) { string path = NameParser.Parse(nameParserType, SubFolderPath.Replace("%host", Host)); return(URLHelpers.CombineURL(path, filename)); }
public string GetSubFolderPath() { NameParser parser = new NameParser(NameParserType.URL); return(parser.Parse(SubFolderPath.Replace("%host", LocalhostRoot))); }
public string GetSubFolderPath() { return(NameParser.Parse(NameParserType.URL, SubFolderPath.Replace("%host", FileHelpers.ExpandFolderVariables(LocalhostRoot)))); }
public string GetSubFolderPath() { return(NameParser.Parse(NameParserType.URL, SubFolderPath.Replace("%host", LocalhostRoot))); }
public string GetSubFolderPath() { return(NameParser.Parse(NameParserType.URL, SubFolderPath.Replace("%host", Helpers.GetVariableFolderPath(LocalhostRoot)))); }