public static Path Build(Path basePath, String action) { PathBuilder builder = new PathBuilder { BasePath = basePath, Action = action, }; return builder.Build(); }
public static Path Build(Path basePath, String action, DateTime initialDate, DateTime finalDate, String documentType = null) { PathBuilder builder = new PathBuilder { BasePath = basePath, Action = action, InitialDate = initialDate, FinalDate = finalDate, DocumentType = documentType }; return builder.Build(); }
private void AddParameter(Path path, String key, String value) { path.AddParameter(key, value); }
private void AddParameter(Path path, String key, DateTime date) { AddParameter(path, key, FormatDate(date)); }