public static async Task <ISnapshotsOpenSnapshotResult> OpenAsync(this ISnapshots api, GoogleApiClient apiClient, string fileName, bool createIfNotFound, int conflictPolicy) { return((await api.Open(apiClient, fileName, createIfNotFound, conflictPolicy)).JavaCast <ISnapshotsOpenSnapshotResult> ()); }
public static async Task <ISnapshotsOpenSnapshotResult> OpenAsync(this ISnapshots api, GoogleApiClient apiClient, ISnapshotMetadata metadata, int conflictPolicy) { return((await api.Open(apiClient, metadata, conflictPolicy)).JavaCast <ISnapshotsOpenSnapshotResult> ()); }