PFFieldUserValue Class |
Namespace: Packflow.Core
[DataContractAttribute] public sealed class PFFieldUserValue : PFFieldValue
The PFFieldUserValue type exposes the following members.
| Name | Description | |
|---|---|---|
| PFFieldUserValue |
Initializes a new instance of the PFFieldUserValue class.
| |
| PFFieldUserValue(String) |
Initializes a new instance of the PFFieldUserValue class.
| |
| PFFieldUserValue(PFGroup) |
Initializes a new instance of the PFFieldUserValue class.
| |
| PFFieldUserValue(PFUser) |
Initializes a new instance of the PFFieldUserValue class.
| |
| PFFieldUserValue(ListPFUser, ListPFGroup) |
Initializes a new instance of the PFFieldUserValue class.
|
| Name | Description | |
|---|---|---|
| References |
Gets the principal references.
|
| Name | Description | |
|---|---|---|
| AddGroup |
Adds a group to the references.
| |
| AddReference |
Adds a principal reference.
| |
| AddUser |
Adds a user to the references.
| |
| Clone |
Clones this instance.
| |
| Contains(PFGroup) |
Determines whether the specified group is in the references.
| |
| Contains(PFUser) |
Determines whether the specified user is in the references.
| |
| ContainsGroup |
Determines whether the specified group is in the references.
| |
| ContainsUser |
Determines whether the specified user is in the references.
| |
| GetDisplayValue |
Generates the display value with the specified separator.
| |
| GetGroups |
Gets the selected groups from references.
| |
| GetGroupsIds |
Gets the id of selected groups.
| |
| GetHTMLValue |
Generates the HTML value with the specified separator.
| |
| GetTextForValueComparison |
Gets a text allowing the comparison with other values.
(Overrides PFFieldValueGetTextForValueComparison(Boolean).) | |
| GetUsers |
Gets the selected users from references.
| |
| GetUsersIds |
Gets the id of selected users.
| |
| RemoveGroup(Int64) |
Removes a group from the references.
| |
| RemoveGroup(PFGroup) |
Removes a group from the references.
| |
| RemoveUser(Int64) |
Removes a user from the references.
| |
| RemoveUser(PFUser) |
Removes a user 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.) | |
| GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
| IsEmpty |
Gets a value indicating whether the user value is null or empty.
(Defined by PFFieldUserValue_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 user value is not null and contains references.
(Defined by PFFieldUserValue_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.) |