System.Func.Invoke(Partial)

Here are the examples of the csharp api System.Func.Invoke(Partial) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1249 Examples 7

19 View Source File : ApplicationsPostRequestPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<ApplicationsPostRequest> WithAppLevelAuth(this Partial<ApplicationsPostRequest> it, Func<Partial<EndpointAuthCreate>, Partial<EndpointAuthCreate>> partialBuilder)
        => it.AddFieldName("appLevelAuth", partialBuilder(new Partial<EndpointAuthCreate>(it)));

public static Partial<ApplicationUnfurlContentMC> WithOutline(this Partial<ApplicationUnfurlContentMC> it, Func<Partial<MessageOutline>, Partial<MessageOutline>> partialBuilder)
        => it.AddFieldName("outline", partialBuilder(new Partial<MessageOutline>(it)));

public static Partial<ApplicationAuthorizationRequestedEvent> WithApplication(this Partial<ApplicationAuthorizationRequestedEvent> it, Func<Partial<ESApp>, Partial<ESApp>> partialBuilder)
        => it.AddFieldName("application", partialBuilder(new Partial<ESApp>(it)));

public static Partial<ApplicationsForApplicationWebhooksForWebhookIdSubscriptionsForSubscriptionIdPatchRequest> WithSubscription(this Partial<ApplicationsForApplicationWebhooksForWebhookIdSubscriptionsForSubscriptionIdPatchRequest> it, Func<Partial<CustomGenericSubscriptionIn>, Partial<CustomGenericSubscriptionIn>> partialBuilder)
        => it.AddFieldName("subscription", partialBuilder(new Partial<CustomGenericSubscriptionIn>(it)));

public static Partial<ApplicationAuthorizedWebhookEvent> WithScope(this Partial<ApplicationAuthorizedWebhookEvent> it, Func<Partial<AuthScope>, Partial<AuthScope>> partialBuilder)
        => it.AddFieldName("scope", partialBuilder(new Partial<AuthScope>(it)));

19 View Source File : AllChannelsListEntryPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AllChannelsListEntry> WithAccess(this Partial<AllChannelsListEntry> it, Func<Partial<M2Access>, Partial<M2Access>> partialBuilder)
        => it.AddFieldName("access", partialBuilder(new Partial<M2Access>(it)));

public static Partial<ApplicationUnfurlContentBlockMarkdown> WithIcon(this Partial<ApplicationUnfurlContentBlockMarkdown> it, Func<Partial<ApiIcon>, Partial<ApiIcon>> partialBuilder)
        => it.AddFieldName("icon", partialBuilder(new Partial<ApiIcon>(it)));

19 View Source File : AbsenceRecordPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceRecord> WithApproval(this Partial<AbsenceRecord> it, Func<Partial<AbsenceApproval>, Partial<AbsenceApproval>> partialBuilder)
        => it.AddFieldName("approval", partialBuilder(new Partial<AbsenceApproval>(it)));

19 View Source File : ApplicationUnfurlDomainPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<ApplicationUnfurlDomain> WithModificationAuthor(this Partial<ApplicationUnfurlDomain> it, Func<Partial<CPrincipal>, Partial<CPrincipal>> partialBuilder)
        => it.AddFieldName("modificationAuthor", partialBuilder(new Partial<CPrincipal>(it)));

19 View Source File : AbsencesForIdPatchRequestPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsencesForIdPatchRequest> WithCustomFieldValues(this Partial<AbsencesForIdPatchRequest> it, Func<Partial<CustomFieldInputValue>, Partial<CustomFieldInputValue>> partialBuilder)
        => it.AddFieldName("customFieldValues", partialBuilder(new Partial<CustomFieldInputValue>(it)));

public static Partial<ApplicationsForApplicationWebhooksForWebhookIdPatchRequest> WithEndpoint(this Partial<ApplicationsForApplicationWebhooksForWebhookIdPatchRequest> it, Func<Partial<ExternalEndpointUpdateDTO>, Partial<ExternalEndpointUpdateDTO>> partialBuilder)
        => it.AddFieldName("endpoint", partialBuilder(new Partial<ExternalEndpointUpdateDTO>(it)));

public static Partial<ApplicationsForApplicationAuthorizationsAuthorizedRightsPatchRequest> WithUpdates(this Partial<ApplicationsForApplicationAuthorizationsAuthorizedRightsPatchRequest> it, Func<Partial<RightUpdateDTO>, Partial<RightUpdateDTO>> partialBuilder)
        => it.AddFieldName("updates", partialBuilder(new Partial<RightUpdateDTO>(it)));

19 View Source File : AbsenceWebhookEventPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceWebhookEvent> WithMember(this Partial<AbsenceWebhookEvent> it, Func<Partial<TDMemberProfile>, Partial<TDMemberProfile>> partialBuilder)
        => it.AddFieldName("member", partialBuilder(new Partial<TDMemberProfile>(it)));

public static Partial<ApplicationsForApplicationWebhooksPostRequest> WithEndpoint(this Partial<ApplicationsForApplicationWebhooksPostRequest> it, Func<Partial<EndpointCreateDTO>, Partial<EndpointCreateDTO>> partialBuilder)
        => it.AddFieldName("endpoint", partialBuilder(new Partial<EndpointCreateDTO>(it)));

19 View Source File : AbsenceRecordPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceRecord> WithReason(this Partial<AbsenceRecord> it, Func<Partial<AbsenceReasonRecord>, Partial<AbsenceReasonRecord>> partialBuilder)
        => it.AddFieldName("reason", partialBuilder(new Partial<AbsenceReasonRecord>(it)));

public static Partial<ApplicationSshKeyWebhookEvent> WithApplication(this Partial<ApplicationSshKeyWebhookEvent> it, Func<Partial<ESApp>, Partial<ESApp>> partialBuilder)
        => it.AddFieldName("application", partialBuilder(new Partial<ESApp>(it)));

19 View Source File : AllReactionsToItemRecordPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AllReactionsToItemRecord> WithEmojiReactions(this Partial<AllReactionsToItemRecord> it, Func<Partial<EmojiReactionRecord>, Partial<EmojiReactionRecord>> partialBuilder)
        => it.AddFieldName("emojiReactions", partialBuilder(new Partial<EmojiReactionRecord>(it)));

public static Partial<ApplicationUnfurlContentImage> WithSource(this Partial<ApplicationUnfurlContentImage> it, Func<Partial<ApplicationUnfurlContentImageSource>, Partial<ApplicationUnfurlContentImageSource>> partialBuilder)
        => it.AddFieldName("source", partialBuilder(new Partial<ApplicationUnfurlContentImageSource>(it)));

public static Partial<AbsenceCommonSubscriptionFilter> WithReasons(this Partial<AbsenceCommonSubscriptionFilter> it, Func<Partial<AbsenceReasonRecord>, Partial<AbsenceReasonRecord>> partialBuilder)
        => it.AddFieldName("reasons", partialBuilder(new Partial<AbsenceReasonRecord>(it)));

19 View Source File : ApplicationUnfurlDomainPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<ApplicationUnfurlDomain> WithStatus(this Partial<ApplicationUnfurlDomain> it, Func<Partial<RightStatus>, Partial<RightStatus>> partialBuilder)
        => it.AddFieldName("status", partialBuilder(new Partial<RightStatus>(it)));

public static Partial<ApplicationAuthorizedWebhookEvent> WithMeta(this Partial<ApplicationAuthorizedWebhookEvent> it, Func<Partial<KMetaMod>, Partial<KMetaMod>> partialBuilder)
        => it.AddFieldName("meta", partialBuilder(new Partial<KMetaMod>(it)));

public static Partial<ApplicationAuthorizedWebhookEvent> WithApplication(this Partial<ApplicationAuthorizedWebhookEvent> it, Func<Partial<ESApp>, Partial<ESApp>> partialBuilder)
        => it.AddFieldName("application", partialBuilder(new Partial<ESApp>(it)));

19 View Source File : AbsenceEventPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceEvent> WithProfile(this Partial<AbsenceEvent> it, Func<Partial<TDMemberWithTeam>, Partial<TDMemberWithTeam>> partialBuilder)
        => it.AddFieldName("profile", partialBuilder(new Partial<TDMemberWithTeam>(it)));

public static Partial<ApplicationsForApplicationAuthorizationsAuthorizedRightsPatchRequest> WithContextIdentifier(this Partial<ApplicationsForApplicationAuthorizationsAuthorizedRightsPatchRequest> it, Func<Partial<PermissionContextIdentifier>, Partial<PermissionContextIdentifier>> partialBuilder)
        => it.AddFieldName("contextIdentifier", partialBuilder(new Partial<PermissionContextIdentifier>(it)));

19 View Source File : AbsencesPostRequestPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsencesPostRequest> WithCustomFieldValues(this Partial<AbsencesPostRequest> it, Func<Partial<CustomFieldInputValue>, Partial<CustomFieldInputValue>> partialBuilder)
        => it.AddFieldName("customFieldValues", partialBuilder(new Partial<CustomFieldInputValue>(it)));

public static Partial<ApplicationsForApplicationWebhooksForWebhookIdCustomHeadersPostRequest> WithHeaders(this Partial<ApplicationsForApplicationWebhooksForWebhookIdCustomHeadersPostRequest> it, Func<Partial<CustomHttpHeaderDTO>, Partial<CustomHttpHeaderDTO>> partialBuilder)
        => it.AddFieldName("headers", partialBuilder(new Partial<CustomHttpHeaderDTO>(it)));

public static Partial<ApplicationsForApplicationAuthorizationsAuthorizedRightsRequestRightsPatchRequest> WithContextIdentifier(this Partial<ApplicationsForApplicationAuthorizationsAuthorizedRightsRequestRightsPatchRequest> it, Func<Partial<PermissionContextIdentifier>, Partial<PermissionContextIdentifier>> partialBuilder)
        => it.AddFieldName("contextIdentifier", partialBuilder(new Partial<PermissionContextIdentifier>(it)));

19 View Source File : AbsenceWebhookEventPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceWebhookEvent> WithAbsence(this Partial<AbsenceWebhookEvent> it, Func<Partial<AbsenceRecord>, Partial<AbsenceRecord>> partialBuilder)
        => it.AddFieldName("absence", partialBuilder(new Partial<AbsenceRecord>(it)));

public static Partial<ApplicationsForApplicationWebhooksForWebhookIdPatchRequest> WithEndpointAuth(this Partial<ApplicationsForApplicationWebhooksForWebhookIdPatchRequest> it, Func<Partial<EndpointAuthUpdateDTO>, Partial<EndpointAuthUpdateDTO>> partialBuilder)
        => it.AddFieldName("endpointAuth", partialBuilder(new Partial<EndpointAuthUpdateDTO>(it)));

19 View Source File : AbsenceRecordPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceRecord> WithMember(this Partial<AbsenceRecord> it, Func<Partial<TDMemberProfile>, Partial<TDMemberProfile>> partialBuilder)
        => it.AddFieldName("member", partialBuilder(new Partial<TDMemberProfile>(it)));

public static Partial<ApplicationsForApplicationWebhooksForWebhookIdSubscriptionsPostRequest> WithSubscription(this Partial<ApplicationsForApplicationWebhooksForWebhookIdSubscriptionsPostRequest> it, Func<Partial<CustomGenericSubscriptionIn>, Partial<CustomGenericSubscriptionIn>> partialBuilder)
        => it.AddFieldName("subscription", partialBuilder(new Partial<CustomGenericSubscriptionIn>(it)));

19 View Source File : AdHocConnectedAppMetadataPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AdHocConnectedAppMetadata> WithConnectionStatus(this Partial<AdHocConnectedAppMetadata> it, Func<Partial<AppConnectionStatus>, Partial<AppConnectionStatus>> partialBuilder)
        => it.AddFieldName("connectionStatus", partialBuilder(new Partial<AppConnectionStatus>(it)));

public static Partial<ApplicationsForApplicationWebhooksPostRequest> WithEndpointAuth(this Partial<ApplicationsForApplicationWebhooksPostRequest> it, Func<Partial<EndpointAuthCreateDTO>, Partial<EndpointAuthCreateDTO>> partialBuilder)
        => it.AddFieldName("endpointAuth", partialBuilder(new Partial<EndpointAuthCreateDTO>(it)));

public static Partial<AbsenceApprovalWebhookEvent> WithMember(this Partial<AbsenceApprovalWebhookEvent> it, Func<Partial<TDMemberProfile>, Partial<TDMemberProfile>> partialBuilder)
        => it.AddFieldName("member", partialBuilder(new Partial<TDMemberProfile>(it)));

public static Partial<ApplicationSshKeyWebhookEvent> WithMeta(this Partial<ApplicationSshKeyWebhookEvent> it, Func<Partial<KMetaMod>, Partial<KMetaMod>> partialBuilder)
        => it.AddFieldName("meta", partialBuilder(new Partial<KMetaMod>(it)));

19 View Source File : AllReactionsToItemRecordPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AllReactionsToItemRecord> WithReactions(this Partial<AllReactionsToItemRecord> it, Func<Partial<CertainReactionToItemRecord>, Partial<CertainReactionToItemRecord>> partialBuilder)
        => it.AddFieldName("reactions", partialBuilder(new Partial<CertainReactionToItemRecord>(it)));

public static Partial<ApplicationsSubscriptionFilter> WithApplication(this Partial<ApplicationsSubscriptionFilter> it, Func<Partial<ESApp>, Partial<ESApp>> partialBuilder)
        => it.AddFieldName("application", partialBuilder(new Partial<ESApp>(it)));

19 View Source File : AbsenceRecordPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceRecord> WithLocation(this Partial<AbsenceRecord> it, Func<Partial<TDLocation>, Partial<TDLocation>> partialBuilder)
        => it.AddFieldName("location", partialBuilder(new Partial<TDLocation>(it)));

public static Partial<ApplicationUnfurlContentImage> WithIcon(this Partial<ApplicationUnfurlContentImage> it, Func<Partial<ApiIcon>, Partial<ApiIcon>> partialBuilder)
        => it.AddFieldName("icon", partialBuilder(new Partial<ApiIcon>(it)));

public static Partial<ApplicationAuthorizationRequestedEvent> WithMeta(this Partial<ApplicationAuthorizationRequestedEvent> it, Func<Partial<KMetaMod>, Partial<KMetaMod>> partialBuilder)
        => it.AddFieldName("meta", partialBuilder(new Partial<KMetaMod>(it)));

public static Partial<ApplicationUnfurlContentMC> WithStyle(this Partial<ApplicationUnfurlContentMC> it, Func<Partial<MessageStyle>, Partial<MessageStyle>> partialBuilder)
        => it.AddFieldName("style", partialBuilder(new Partial<MessageStyle>(it)));

public static Partial<AbsenceApprovalWebhookEvent> WithMeta(this Partial<AbsenceApprovalWebhookEvent> it, Func<Partial<KMetaMod>, Partial<KMetaMod>> partialBuilder)
        => it.AddFieldName("meta", partialBuilder(new Partial<KMetaMod>(it)));

public static Partial<ApplicationUnfurlContentMC> WithSections(this Partial<ApplicationUnfurlContentMC> it, Func<Partial<MessageSectionElement>, Partial<MessageSectionElement>> partialBuilder)
        => it.AddFieldName("sections", partialBuilder(new Partial<MessageSectionElement>(it)));

public static Partial<ApplicationAuthorizationRequestedEvent> WithScope(this Partial<ApplicationAuthorizationRequestedEvent> it, Func<Partial<AuthScope>, Partial<AuthScope>> partialBuilder)
        => it.AddFieldName("scope", partialBuilder(new Partial<AuthScope>(it)));

19 View Source File : AbsenceRecordPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceRecord> WithCustomFields(this Partial<AbsenceRecord> it, Func<Partial<CFValue>, Partial<CFValue>> partialBuilder)
        => it.AddFieldName("customFields", partialBuilder(new Partial<CFValue>(it)));

19 View Source File : AbsenceApprovalPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceApproval> WithApprovedBy(this Partial<AbsenceApproval> it, Func<Partial<TDMemberProfile>, Partial<TDMemberProfile>> partialBuilder)
        => it.AddFieldName("approvedBy", partialBuilder(new Partial<TDMemberProfile>(it)));

public static Partial<AbsenceApprovalWebhookEvent> WithAbsence(this Partial<AbsenceApprovalWebhookEvent> it, Func<Partial<AbsenceRecord>, Partial<AbsenceRecord>> partialBuilder)
        => it.AddFieldName("absence", partialBuilder(new Partial<AbsenceRecord>(it)));

19 View Source File : AbsenceEventPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceEvent> WithEvents(this Partial<AbsenceEvent> it, Func<Partial<AbsenceRecord>, Partial<AbsenceRecord>> partialBuilder)
        => it.AddFieldName("events", partialBuilder(new Partial<AbsenceRecord>(it)));

19 View Source File : AbsenceWebhookEventPartialBuilder.generated.cs
License : Apache License 2.0
Project Creator : JetBrains

public static Partial<AbsenceWebhookEvent> WithMeta(this Partial<AbsenceWebhookEvent> it, Func<Partial<KMetaMod>, Partial<KMetaMod>> partialBuilder)
        => it.AddFieldName("meta", partialBuilder(new Partial<KMetaMod>(it)));

public static Partial<ApplicationsForApplicationPatchRequest> WithAppLevelAuth(this Partial<ApplicationsForApplicationPatchRequest> it, Func<Partial<EndpointAppLevelAuthUpdateType>, Partial<EndpointAppLevelAuthUpdateType>> partialBuilder)
        => it.AddFieldName("appLevelAuth", partialBuilder(new Partial<EndpointAppLevelAuthUpdateType>(it)));

See More Examples