PFQuickPartsBinder Class |
Namespace: Packflow.Interface.Office
public class PFQuickPartsBinder : PFManagedObject
The PFQuickPartsBinder type exposes the following members.
| Name | Description | |
|---|---|---|
| PFQuickPartsBinder |
Creates a PFQuickPartsBinder based on a chosen contentType.
|
| Name | Description | |
|---|---|---|
| ContentType |
Gets the contentType this PFQuickPartsBinder is bound to.
| |
| DateObjectCreation |
Gets the date of the creation of this object in memory.
(Inherited from PFManagedObject.) | |
| Logger |
Gets the logger, used to log any useful warning, error or information in the database.
(Inherited from PFManagedObject.) | |
| LogIdentification |
Gets a technical text representing this object.
(Inherited from PFManagedObject.) |
| Name | Description | |
|---|---|---|
| Create |
Creates a PFQuickPartsBinder based on field parameters.
| |
| InitializeLogger |
Gets the current PFLogger instance.
(Overrides PFManagedObjectInitializeLogger.) | |
| IsBindable |
Checks if the file is bound on QuickParts mechanism in modeling.
Means it will get updated automatically on relevant events.
| |
| RefreshFile(PFFile, PFItem) |
Updates QuickParts custom xmls in the instance file, based on sourceItem data, and returns a stream of the
file content.
The source item must be from the content type found in 'ContentType' property.
If the instanceFile is a template, while saving content on another file, don't forget to copy the
PFFile.QuickPartsSourceInfo property
from instanceFile to the other file after refresh.
| |
| RefreshFile(PFFile, PFItem, ListPFOfficeBindingValue) |
Updates QuickParts custom xmls in the instance file, based on sourceItem data, and returns a stream of the
file content.
The source item must be from the content type found in 'ContentType' property.
If the instanceFile is a template, while saving content on another file, don't forget to copy the
PFFile.QuickPartsSourceInfo property
from instanceFile to the other file after refresh.
| |
| RefreshFile2(PFFile, PFItem) |
Updates QuickParts custom xmls in the instance file, based on sourceItem data, and returns a byte array
of the file content.
The source item must be from the content type found in 'ContentType' property.
If the instanceFile is a template, while saving content on another file later, don't forget to copy the
PFFile.QuickPartsSourceInfo property
from instanceFile to the other file after refresh.
| |
| RefreshFile2(PFFile, PFItem, ListPFOfficeBindingValue) |
Updates QuickParts custom xmls in the instance file, based on sourceItem data, and returns a byte array
of the file content.
The source item must be from the content type found in 'ContentType' property.
If the instanceFile is a template, while saving content on another file later, don't forget to copy the
PFFile.QuickPartsSourceInfo property
from instanceFile to the other file after refresh.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| 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.) |