Example #1
0
 public CloudTableFilterRangeQuery(
     string filter,
     int?take,
     string[] properties,
     FetchAsync fetchAsync,
     FetchSync fetchSync,
     ITableEntityConverter tableEntityConverter)
     : base(take, properties, fetchAsync, fetchSync, tableEntityConverter)
 {
     m_filter = filter;
 }
Example #2
0
 public CloudTableFilterSegmentedRangeQuery(
     string filter,
     int?take,
     string[] properties,
     FetchAsync fetchAsync,
     FetchSync fetchSync,
     TableRequestOptions requestOptions,
     ITableEntityConverter tableEntityConverter)
     : base(take, properties, fetchAsync, fetchSync, requestOptions, tableEntityConverter)
 {
     m_filter = filter;
 }
        public CloudTablePointQuery(
            string partitionKey,
            string rowKey,
            string[] properties,
            FetchAsync fetchAsync,
            FetchSync fetchSync,
            ITableEntityConverter tableEntityConverter)
            : base(1, properties, fetchAsync, fetchSync, tableEntityConverter)
        {
            Require.NotEmpty(partitionKey, "partitionKey");
            Require.NotNull(rowKey, "rowKey");

            m_partitionKey = partitionKey;
            m_rowKey       = rowKey;
        }
        protected CloudTableSegmentedQuery(
            int?take,
            string[] properties,
            FetchAsync fetchEntitiesAsync,
            FetchSync fetchEntities,

            ITableEntityConverter tableEntityConverter)
        {
            Require.True(!take.HasValue || take > 0, "take", "Value should contains positive value");
            Require.NotNull(properties, "properties");
            Require.NotNull(fetchEntitiesAsync, "fetchEntitiesAsync");
            Require.NotNull(fetchEntities, "fetchEntities");
            Require.NotNull(tableEntityConverter, "tableEntityConverter");

            m_take                 = take;
            m_properties           = properties;
            m_fetchEntitiesAsync   = fetchEntitiesAsync;
            m_fetchEntities        = fetchEntities;
            m_tableEntityConverter = tableEntityConverter;
            m_continuationToken    = null;
        }
Example #5
0
 public Task <RegionedList <string> > GetBugNamesAsync(Month month) => FetchAsync <RegionedList <string> >(Bug.Endpoint(), ("month", month.EnumMember()), ("excludedetails", true));
Example #6
0
 public Task <string[]> GetBugNamesAsync() => FetchAsync <string[]>(Bug.Endpoint(), ("excludedetails", true));
Example #7
0
 public Task <RegionedList <Bug> > GetBugsAsync(Month month) => FetchAsync <RegionedList <Bug> >(Bug.Endpoint(), ("month", month.EnumMember()));