Exemplo n.º 1
0
        public static Path Build(Path basePath, String action)
        {
            PathBuilder builder = new PathBuilder
            {
                BasePath = basePath,
                Action = action,
            };

            return builder.Build();
        }
Exemplo n.º 2
0
        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();
        }
Exemplo n.º 3
0
 private void AddParameter(Path path, String key, String value)
 {
     path.AddParameter(key, value);
 }
Exemplo n.º 4
0
 private void AddParameter(Path path, String key, DateTime date)
 {
     AddParameter(path, key, FormatDate(date));
 }