Click or drag to resize

PFFieldUserValue Class

Represents the value of a PFFieldUser.
Inheritance Hierarchy

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
[DataContractAttribute]
public sealed class PFFieldUserValue : PFFieldValue

The PFFieldUserValue type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyReferences
Gets the principal references.
Top
Methods
  NameDescription
Public methodAddGroup
Adds a group to the references.
Public methodAddReference
Adds a principal reference.
Public methodAddUser
Adds a user to the references.
Public methodClone
Clones this instance.
Public methodContains(PFGroup)
Determines whether the specified group is in the references.
Public methodContains(PFUser)
Determines whether the specified user is in the references.
Public methodContainsGroup
Determines whether the specified group is in the references.
Public methodContainsUser
Determines whether the specified user is in the references.
Public methodGetDisplayValue
Generates the display value with the specified separator.
Public methodGetGroups
Gets the selected groups from references.
Public methodGetGroupsIds
Gets the id of selected groups.
Public methodGetHTMLValue
Generates the HTML value with the specified separator.
Public methodGetTextForValueComparison
Gets a text allowing the comparison with other values.
(Overrides PFFieldValueGetTextForValueComparison(Boolean).)
Public methodGetUsers
Gets the selected users from references.
Public methodGetUsersIds
Gets the id of selected users.
Public methodRemoveGroup(Int64)
Removes a group from the references.
Public methodRemoveGroup(PFGroup)
Removes a group from the references.
Public methodRemoveUser(Int64)
Removes a user from the references.
Public methodRemoveUser(PFUser)
Removes a user from the references.
Public methodToString
Returns a String which can be used to initialize a new instance of this object.
(Overrides PFFieldValueToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsEmpty
Gets a value indicating whether the user value is null or empty.
(Defined by PFFieldUserValue_Utils.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodIsNotEmpty
Gets a value indicating whether the user value is not null and contains references.
(Defined by PFFieldUserValue_Utils.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also