Skip to content

f3556fb2 c7e1 5904 974e 18f789583e49

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

BaseProvider Class

Additional header content

Implements interface IProvider. Which acts as the base class for future providers.

Inheritance Hierarchy

System.Object
  iTin.Export.ComponentModel.Provider.BaseProvider
    iTin.Export.Providers.DataSetProvider
    iTin.Export.Providers.XmlProvider
Namespace: iTin.Export.ComponentModel.Provider
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public abstract class BaseProvider : IProvider

VB

Public MustInherit Class BaseProvider
	Implements IProvider

The BaseProvider type exposes the following members.

Constructors

 

Name Description
Protected method BaseProvider Initializes a new instance of the BaseProvider class.
  Back to Top

Properties

 

Name Description
Public property CanCreateInputXml Gets a value indicating whether you can create an Xml file from the current instance of the object.
Public property CanGetDataTable Gets a value indicating whether this instance can get data table.
Protected propertyStatic member EmptySpecialChars Gets the empty special chars.
Public property Input Gets a reference to the data model.
Public property InputUri Gets a reference to input file.
Public property ProviderMetadata Gets a reference that contains the metadata information about this provider.
Public property SpecialChars Gets or sets an special char array.
  Back to Top

Methods

 

Name Description
Public method CreateInputXml Creates the Xml source file from.
Public method Equals (Inherited from Object.)
Public method Export Export specified input data model with this provider by applying the specified writer in configuration file.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected methodStatic member LoadXmlFromFile Retrieves Xml content of specified table in a file.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnCreateInputXml Concrete implementation by object type.
Protected method OnGetDataTable Concrete implementation by object type.
Public method Parse(String) Parse an String and replace the special chars defined in SpecialChars by a hexadecimal pattern.
Public methodStatic member Parse(String, IEnumerable(Char)) Parse an String and replace the special chars defined in specialChars by a hexadecimal pattern.
Public method SetInputDataModel Add a data model to this provider.
Public method SetSpecialChars Sets an special char array to this provider.
Public method ToDataTable Gets a reference to the DataTable object that contains the data this instance.
Public method ToString Returns a string that represents the current data type. (Overrides Object.ToString().)
Public method ToXml Gets a reference to the IEnumerable(T) object that contains the data this instance.
  Back to Top

Remarks

The following table shows the different provider types.  

Class Description
DataSetProvider Represents a custom provider for DataSet inputs. For more information please see DataSetProvider
XmlProvider Represents a custom provider for Xml types. For more information please see XmlProvider

See Also

Reference

iTin.Export.ComponentModel.Provider Namespace

Clone this wiki locally