Exemplo n.º 1
0
        public static NCDCResponse <NCDCLocationCollection> GetLocations(string datasetName, string locationTypeName, string token = null, NCDCOptions options = null)
        {
            token = token ?? NCDCUtilities.GetUnlockedToken();
            var command = new ListLocationsCommand(datasetName, locationTypeName, token, options);

            return(NCDCCommand <NCDCLocationCollection> .PerformAction(command));
        }
Exemplo n.º 2
0
 public static NCDCResponse<NCDCLocationCollection> GetLocations(string datasetName, string locationTypeName, string token = null, NCDCOptions options = null)
 {
     token = token ?? NCDCUtilities.GetUnlockedToken();
     var command = new ListLocationsCommand(datasetName, locationTypeName, token, options);
     return NCDCCommand<NCDCLocationCollection>.PerformAction(command);
 }