PFItemReference Class |
Namespace: Packflow.Core
public class PFItemReference
The PFItemReference type exposes the following members.
| Name | Description | |
|---|---|---|
| PFItemReference |
Initializes a new instance of the PFItemReference class.
|
| Name | Description | |
|---|---|---|
| ApplicationGuid |
Gets the parent application GUID.
| |
| ApplicationId |
Gets the parent application id.
| |
| ContentTypeGuid |
Gets the parent content-type GUID.
| |
| ContentTypeId |
Gets the parent content-type id.
| |
| ItemGuid |
Gets the item GUID.
| |
| ItemId |
Gets the item id.
| |
| ItemLoaded |
Gets a value indicating whether the PFItem instance is currently loaded.
| |
| SiteGuid |
Gets the parent site GUID.
| |
| SiteId |
Gets the parent site id.
| |
| Text |
Gets or sets the text representing the item.
| |
| Url |
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.
|
| Name | Description | |
|---|---|---|
| GetItem |
Gets the corresponding PFItem.
The item is just returned (without any query) if already loaded in this instance.
| |
| GetItemUrl |
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.
| |
| ToString |
Returns a string that represents the current object.
This string can be later used in the constructor to restore this object.
(Overrides ObjectToString.) | |
| UnloadItem |
Unloads the current loaded PFItem instance.
|
| Name | Description | |
|---|---|---|
| Separator |
Text separating all values of a reference in its textual representation.
|
| 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.) | |
| 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.) | |
| 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.) |