Skip to content

9c61d0e9 dfab fdcf eff7 2e3921ad427c

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

DownloadBehaviorModel Class

Additional header content

A Specialization of BaseBehaviorModel class.
Which represents download behavior. Applies only in web mode.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(BaseBehaviorModel)
    iTin.Export.Model.BaseBehaviorModel
      iTin.Export.Model.DownloadBehaviorModel
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 DownloadBehaviorModel : BaseBehaviorModel

VB

<SerializableAttribute>
Public Class DownloadBehaviorModel
	Inherits BaseBehaviorModel

The DownloadBehaviorModel type exposes the following members.

Constructors

 

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

Properties

 

Name Description
Public propertyCode example CanExecute Gets or sets a value indicating whether executes behavior. (Inherited from BaseBehaviorModel.)
Public propertyStatic member Default Gets a reference to default behavior.
Public property IsDefault Gets a value indicating whether this instance contains the default. (Overrides BaseBehaviorModel.IsDefault.)
Public propertyCode example LocalCopy Gets or sets a value indicating whether saves local copy of this export.
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
  Back to Top

Methods

 

Name Description
Public method Equals (Inherited from Object.)
Public method Execute(IWriter) Execute behavior. (Inherited from BaseBehaviorModel.)
Public method Execute(IWriter, ExportSettings) Execute behavior. (Inherited from BaseBehaviorModel.)
Protected method ExecuteBehavior Code for execute download behavior. (Overrides BaseBehaviorModel.ExecuteBehavior(IWriter, ExportSettings).)
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 SetOwner Sets a reference to the owner object that contains this instance. (Inherited from BaseBehaviorModel.)
Public method ToString Returns a string that represents the current object. (Inherited from BaseModel(T).)
  Back to Top

Remarks

Belongs to: Behaviors. For more information, please see BehaviorsModel.
ITEE Object Element Usage

<Download .../>

Attributes

Attribute Optional Description
CanExecute Yes Determines whether executes behavior. The default is Yes.
LocalCopy Yes Determines whether saves local copy. The default is No.
Compatibility table with native writers.
Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X X
A X value indicates that the writer supports this element.

Examples

XML

<Behaviors>
  <Downdload LocalCopy="Yes"/>
  <TransformFile Save="No"/>
</Behaviors>

See Also

Reference

iTin.Export.Model Namespace

Clone this wiki locally