Exemplo n.º 1
0
 IGroup IGroupCreationActionsSync.CreateGroup(IGroup group, IGroupCreationOptions creationOptions)
 => GroupCreationActionsShared.CreateGroup(this.GetInternalSyncDataStore(), this.Groups.Href, group, creationOptions);
Exemplo n.º 2
0
 Task <IGroup> IGroupCreationActions.CreateGroupAsync(IGroup group, IGroupCreationOptions creationOptions, CancellationToken cancellationToken)
 => GroupCreationActionsShared.CreateGroupAsync(this.GetInternalAsyncDataStore(), this.Groups.Href, group, creationOptions, cancellationToken);
 Task<IGroup> IGroupCreationActions.CreateGroupAsync(IGroup group, IGroupCreationOptions creationOptions, CancellationToken cancellationToken)
     => GroupCreationActionsShared.CreateGroupAsync(this.GetInternalAsyncDataStore(), this.Groups.Href, group, creationOptions, cancellationToken);
 public static Task<IGroup> CreateGroupAsync(IInternalAsyncDataStore internalDataStore, string groupsHref, IGroup group, IGroupCreationOptions creationOptions, CancellationToken cancellationToken)
     => internalDataStore.CreateAsync(groupsHref, group, creationOptions, cancellationToken);
 public static IGroup CreateGroup(IInternalSyncDataStore internalDataStore, string groupsHref, IGroup group, IGroupCreationOptions creationOptions)
     => internalDataStore.Create(groupsHref, group, creationOptions);
 IGroup IGroupCreationActionsSync.CreateGroup(IGroup group, IGroupCreationOptions creationOptions)
     => GroupCreationActionsShared.CreateGroup(this.GetInternalSyncDataStore(), this.Groups.Href, group, creationOptions);
 /// <summary>
 /// Synchronously creates a new <see cref="Group.IGroup">Group</see>.
 /// </summary>
 /// <param name="source">The source object.</param>
 /// <param name="group">The group to create.</param>
 /// <param name="creationOptions">An <see cref="IGroupCreationOptions"/> instance to use when sending the request.</param>
 /// <returns>The new <see cref="Group.IGroup">Group</see>.</returns>
 public static IGroup CreateGroup(this IGroupCreationActions source, IGroup group, IGroupCreationOptions creationOptions)
     => (source as IGroupCreationActionsSync).CreateGroup(group, creationOptions);
Exemplo n.º 8
0
 public static IGroup CreateGroup(IInternalSyncDataStore internalDataStore, string groupsHref, IGroup group, IGroupCreationOptions creationOptions)
 => internalDataStore.Create(groupsHref, group, creationOptions);
Exemplo n.º 9
0
 public static Task <IGroup> CreateGroupAsync(IInternalAsyncDataStore internalDataStore, string groupsHref, IGroup group, IGroupCreationOptions creationOptions, CancellationToken cancellationToken)
 => internalDataStore.CreateAsync(groupsHref, group, creationOptions, cancellationToken);
 /// <summary>
 /// Synchronously creates a new <see cref="Group.IGroup">Group</see>.
 /// </summary>
 /// <param name="source">The source object.</param>
 /// <param name="group">The group to create.</param>
 /// <param name="creationOptions">An <see cref="IGroupCreationOptions"/> instance to use when sending the request.</param>
 /// <returns>The new <see cref="Group.IGroup">Group</see>.</returns>
 public static IGroup CreateGroup(this IGroupCreationActions source, IGroup group, IGroupCreationOptions creationOptions)
 => (source as IGroupCreationActionsSync).CreateGroup(group, creationOptions);