コード例 #1
0
        IOrganization ITenantActionsSync.CreateOrganization(IOrganization organization, Action<OrganizationCreationOptionsBuilder> creationOptionsAction)
        {
            var builder = new OrganizationCreationOptionsBuilder();
            creationOptionsAction(builder);
            var options = builder.Build();

            return this.CreateOrganization(organization, options);
        }
コード例 #2
0
        Task<IOrganization> ITenantActions.CreateOrganizationAsync(IOrganization organization, Action<OrganizationCreationOptionsBuilder> creationOptionsAction, CancellationToken cancellationToken)
        {
            var builder = new OrganizationCreationOptionsBuilder();
            creationOptionsAction(builder);
            var options = builder.Build();

            return this.AsInterface.CreateOrganizationAsync(organization, options, cancellationToken);
        }