public static string GetValue(MetadataPreference value) { switch (value) { case MetadataPreference.ReturnContent: return(ReturnContent); case MetadataPreference.ReturnNoContent: default: return(ReturnNoContent); } }
public async Task<CreateTableResponse> CreateTableAsync(string tableName, MetadataPreference? metadataPreference = null) { var request = new CreateTableRequest(_account, tableName, metadataPreference); var response = await request.ExecuteAsync(); return response.Payload; }
public CreateTableResponse CreateTable(string tableName, MetadataPreference? metadataPreference = null) { var request = new CreateTableRequest(_account, tableName, metadataPreference); var response = request.Execute(); return response.Payload; }
public static string GetValue(MetadataPreference value) { switch (value) { case MetadataPreference.ReturnContent: return ReturnContent; case MetadataPreference.ReturnNoContent: default: return ReturnNoContent; } }