GeoBuilder Structure

Provides methods for editing the GeoCoordinates property.

Definition

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

Remarks

  Important

Only use this struct in conjunction with VCardBuilder!

Methods

Add(GeoCoordinate, ActionParameterSection, FuncVCard, String) Adds a GeoProperty instance, which is newly initialized using the specified arguments, to the GeoCoordinates property.
Add(Double, Double, NullableSingle, ActionParameterSection, FuncVCard, String) Adds a GeoProperty instance, which is newly initialized using the specified arguments, to the GeoCoordinates property.
Clear Sets the GeoCoordinates property to null.
Edit(FuncIEnumerableGeoProperty, IEnumerableGeoProperty) Edits the content of the GeoCoordinates property with a delegate.
EditTArg(FuncIEnumerableGeoProperty, TArg, IEnumerableGeoProperty, TArg) Edits the content of the GeoCoordinates 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 GeoProperty objects that match a specified predicate from the GeoCoordinates property.
SetIndexes Sets the Index properties of the items in in the GeoCoordinates 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 GeoCoordinates 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 GeoCoordinates property to null.
UnsetPreferences Resets the Preference properties of the items in in the GeoCoordinates property to the lowest value (100).

See Also