Click or drag to resize

PFItemReference Class

Object referencing a PFItem, with the ids and GUIDs of the item and parents, its url and textual representation.
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#
public class PFItemReference

The PFItemReference type exposes the following members.

Constructors
  NameDescription
Public methodPFItemReference
Initializes a new instance of the PFItemReference class.
Top
Properties
  NameDescription
Public propertyApplicationGuid
Gets the parent application GUID.
Public propertyApplicationId
Gets the parent application id.
Public propertyContentTypeGuid
Gets the parent content-type GUID.
Public propertyContentTypeId
Gets the parent content-type id.
Public propertyItemGuid
Gets the item GUID.
Public propertyItemId
Gets the item id.
Public propertyItemLoaded
Gets a value indicating whether the PFItem instance is currently loaded.
Public propertySiteGuid
Gets the parent site GUID.
Public propertySiteId
Gets the parent site id.
Public propertyText
Gets or sets the text representing the item.
Public propertyUrl
Gets or sets the relative URL of the item form. Note: this URL may be outdated due to a change of application/content-type name. The "GetItemUrl" method can be used instead.
Top
Methods
  NameDescription
Public methodGetItem
Gets the corresponding PFItem. The item is just returned (without any query) if already loaded in this instance.
Public methodGetItemUrl
Gets an up-to-date url to the item form. Note: the stored URL may be outdated if the name of the target application or content-type has changed.
Public methodToString
Returns a string that represents the current object. This string can be later used in the constructor to restore this object.
(Overrides ObjectToString.)
Public methodUnloadItem
Unloads the current loaded PFItem instance.
Top
Fields
  NameDescription
Protected fieldStatic memberSeparator
Text separating all values of a reference in its textual representation.
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 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 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