GetSchemaAsync() public method

Retrieve the schema for the specified collection. This requires a value for the project settings Master API key.
public GetSchemaAsync ( string collection ) : Task
collection string
return Task
コード例 #1
0
 public async Task Async_GetCollectionSchema_NullProjectId_Throws()
 {
     var client = new KeenClient(settingsEnv);
     await client.GetSchemaAsync(null);
 }
コード例 #2
0
 public void Async_GetCollectionSchema_NullProjectId_Throws()
 {
     var client = new KeenClient(SettingsEnv);
     Assert.ThrowsAsync<Keen.Core.KeenException>( () => client.GetSchemaAsync(null));
 }