Skip to content

c7dd52fd 80e8 a20b b78f 9a20cbdfe6e6

Fernando Garcia edited this page May 8, 2018 · 1 revision

TemplateModel Class

Additional header content

Represents an exporter based on a template file.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(TemplateModel)
    iTin.Export.Model.TemplateModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

[SerializableAttribute]
public class TemplateModel : BaseModel<TemplateModel>

VB

<SerializableAttribute>
Public Class TemplateModel
	Inherits BaseModel(Of TemplateModel)

The TemplateModel type exposes the following members.

Constructors

 

Name Description
Public method TemplateModel Initializes a new instance of the TemplateModel class
  Back to Top

Properties

 

Name Description
Public propertyCode example File Gets or sets template file name. To specify a relative path use the character (~).
Public property IsDefault Gets a value indicating whether this instance is default. (Overrides BaseModel.IsDefault.)
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
Public propertyCode example Writer Gets or sets the template writer used by the exporter.
  Back to Top

Methods

 

Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetStaticBindingValue Gets the static binding value by reflection. (Inherited from BaseModel(T).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToFile(String) Saves to file. (Inherited from BaseModel(T).)
Public method SaveToFile(String, Exception) Serializes current BaseModel object into file (Inherited from BaseModel(T).)
Public method Serialize Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).)
Public method ToString Returns a string that represents the current object. (Inherited from BaseModel(T).)
  Back to Top

Remarks

Belongs to: Exporter. For more information, please see ExporterModel. ITEE Object Element Usage

<Template>
  <File/>
  <Writer/>
</Template>

Elements  

Element Description
File The template file name.
Writer The template writer used by the exporter.

See Also

Reference

iTin.Export.Model Namespace

Clone this wiki locally