Class FormDocument
Represents form document.
Inheritance
System.Object
FormDocument
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.MetaForm
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0Syntax
public class FormDocument : ICloneable
Constructors
FormDocument()
Initializes a new instance of the FormDocument class.
Declaration
public FormDocument()
Properties
DocumentType
Gets or sets the meta UI type id.
Declaration
public string DocumentType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The meta UI type id. |
Remarks
MetaUITypeId
FormTable
Gets or sets the table layot.
Declaration
public FormTable FormTable { get; set; }
Property Value
Type | Description |
---|---|
FormTable | The table layot. |
Handlers
Gets or sets the handlers.
Declaration
public FormHandlerCollection Handlers { get; set; }
Property Value
Type | Description |
---|---|
FormHandlerCollection | The handlers. |
Id
Gets or sets the id.
Declaration
public int? Id { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The id. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Owner
Gets or sets the name of the meta class.
Declaration
public string Owner { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the meta class. |
Remarks
MetaClassName
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | A new object that is a copy of this instance. |
GetString(FormDocument)
Gets the string.
Declaration
public static string GetString(FormDocument formDocument)
Parameters
Type | Name | Description |
---|---|---|
FormDocument | formDocument | The form document. |
Returns
Type | Description |
---|---|
System.String |
LoadFromFile(String)
Loads from file.
Declaration
public static FormDocument LoadFromFile(string file)
Parameters
Type | Name | Description |
---|---|---|
System.String | file | The file. |
Returns
Type | Description |
---|---|
FormDocument |
LoadFromString(String)
Loads from string.
Declaration
public static FormDocument LoadFromString(string documentXml)
Parameters
Type | Name | Description |
---|---|---|
System.String | documentXml | The document XML. |
Returns
Type | Description |
---|---|
FormDocument |
ResolveHandler(FormDocument, String)
Gets the form table string.
Declaration
public static IFormHanlder ResolveHandler(FormDocument document, string handlerName)
Parameters
Type | Name | Description |
---|---|---|
FormDocument | document | The document. |
System.String | handlerName | Name of the handler. |
Returns
Type | Description |
---|---|
IFormHanlder |
SaveToFile(String, FormDocument)
Saves to file.
Declaration
public static void SaveToFile(string file, FormDocument formDocument)
Parameters
Type | Name | Description |
---|---|---|
System.String | file | The name of the file. |
FormDocument | formDocument | The form document. |
Implements
System.ICloneable