public static string BuildRequest(
     PropfindRequestType requestType,
     List <XName> customProperties,
     List <NamespaceAttr> namespaces)
 {
     return(requestType == PropfindRequestType.NamedProperties
         ? BuildNamedPropRequest(customProperties, namespaces)
         : BuildAllPropRequest(customProperties, namespaces));
 }
Exemplo n.º 2
0
 public static string BuildRequest(
     PropfindRequestType requestType,
     IReadOnlyCollection <XName> customProperties,
     IReadOnlyCollection <NamespaceAttr> namespaces)
 {
     return(requestType == PropfindRequestType.NamedProperties
         ? BuildNamedPropRequest(customProperties, namespaces)
         : BuildAllPropRequest(customProperties, namespaces));
 }