GramBuilder Structure

Provides methods for editing the GramGenders property.

Definition

Namespace: FolkerKinzel.VCards.BuilderParts
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public readonly struct GramBuilder
Inheritance
Object    ValueType    GramBuilder

Remarks

  Important

Only use this struct in conjunction with VCardBuilder!

Methods

Add Adds a new GramProperty instance to the GramGenders property.
Clear Sets the GramGenders property to null.
Edit(FuncIEnumerableGramProperty, IEnumerableGramProperty) Edits the content of the GramGenders property with a delegate.
EditTArg(FuncIEnumerableGramProperty, TArg, IEnumerableGramProperty, TArg) Edits the content of the GramGenders property with a delegate and allows to pass an argument to this delegate.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Remove Removes GramProperty objects that match a specified predicate from the GramGenders property.
SetIndexes Sets the Index properties of the items in in the GramGenders property ascending depending on their position in that collection and allows to specify whether to skip empty items in that process.
SetPreferences Sets the Preference properties of the items in the GramGenders property depending on their position in that collection and allows to specify whether to skip empty items in that process. (The first item gets the highest preference 1.)
UnsetIndexes Resets the Index properties of the items in in the GramGenders property to null.
UnsetPreferences Resets the Preference properties of the items in in the GramGenders property to the lowest value (100).

See Also