PFFieldChoiceValue Class |
Namespace: Packflow.Core
[DataContractAttribute] public sealed class PFFieldChoiceValue : PFFieldValue
The PFFieldChoiceValue type exposes the following members.
| Name | Description | |
|---|---|---|
| PFFieldChoiceValue(PFSite) |
Initializes a new instance of the PFFieldChoiceValue class.
| |
| PFFieldChoiceValue(PFSite, PFItemReference) |
Initializes a new instance of the PFFieldChoiceValue class.
| |
| PFFieldChoiceValue(PFSite, IEnumerablePFItemReference) |
Initializes a new instance of the PFFieldChoiceValue class.
| |
| PFFieldChoiceValue(PFSite, String) |
Initializes a new instance of the PFFieldChoiceValue class.
| |
| PFFieldChoiceValue(PFSite, String, PFItem) |
Initializes a new instance of the PFFieldChoiceValue class.
| |
| PFFieldChoiceValue(PFSite, String, IEnumerablePFItem) |
Initializes a new instance of the PFFieldChoiceValue class.
|
| Name | Description | |
|---|---|---|
| References |
Gets the item references.
| |
| Site |
Gets the contextual site.
|
| Name | Description | |
|---|---|---|
| AddItem(PFItemReference) |
Adds an item to the references.
| |
| AddItem(PFItem, String) |
Adds an item to the references.
| |
| AddItems(String, PFItem) |
Adds items to the references.
| |
| AddItems(IEnumerablePFItem, String) |
Adds items to the references.
| |
| Clone |
Clones this instance.
| |
| Create |
Creates a new instance of the PFFieldChoiceValue class.
| |
| GetDisplayValue |
Generates the display value with the specified separator.
| |
| GetHTMLValue(PFFieldChoice, PFFieldChoiceValue_DisplaySeparatorType, Boolean, Boolean, String) |
Generates the HTML value with the specified separator.
| |
| GetHTMLValue(PFFieldChoice, Boolean, Boolean, PFFieldChoiceValue_DisplaySeparatorType, String) |
Generates an HTML code using a given format. This format can include {url} and {text}.
| |
| GetItems |
Gets the selected items from references.
| |
| GetItemsT |
Gets selected items from references.
| |
| GetSelectedGuids |
Gets the GUIDs of selected items.
| |
| GetTextForValueComparison |
Gets a text allowing the comparison with other values.
(Overrides PFFieldValueGetTextForValueComparison(Boolean).) | |
| RemoveItem(Guid) |
Removes an item from the references.
| |
| RemoveItem(PFItem) |
Removes an item from the references.
| |
| RemoveItem(PFItemReference) |
Removes an item from the references.
| |
| ToString |
Returns a String which can be used to initialize a new instance of this object.
(Overrides PFFieldValueToString.) |
| Name | Description | |
|---|---|---|
| AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
| EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
| EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
| GetSelectedId |
Gets the item id of a choice value. Returns -1 if the value is null or empty.
(Defined by PFFieldChoiceValue_Utils.) | |
| GetSelectedIds |
Gets the item ids of a choice value. Returns an empty list if the value is null or empty.
(Defined by PFFieldChoiceValue_Utils.) | |
| GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
| IsEmpty |
Gets a value indicating whether the choice value is null or empty.
(Defined by PFFieldChoiceValue_Utils.) | |
| IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
| IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
| IsNotEmpty |
Gets a value indicating whether the choice value is not null and contains references.
(Defined by PFFieldChoiceValue_Utils.) | |
| Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
| SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
| SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |