Class XmlFileDataProvider
Inheritance
System.Object
XmlFileDataProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Common.Data.Providers
Assembly: Mars.Common.dll
Syntax
public class XmlFileDataProvider : IDataProvider<Stream>, IDataProvider<string>
Constructors
| Improve this Doc View SourceXmlFileDataProvider(XmlTextDataProvider)
Declaration
public XmlFileDataProvider(XmlTextDataProvider xmlTextDataProvider)
Parameters
Type | Name | Description |
---|---|---|
XmlTextDataProvider | xmlTextDataProvider |
Methods
| Improve this Doc View SourceImport(Stream, InputConfiguration)
Declaration
public IEnumerable<IDomainData> Import(Stream source, InputConfiguration inputConfiguration = null)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | source | |
InputConfiguration | inputConfiguration |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDomainData> |
Import(String, InputConfiguration)
Declaration
public IEnumerable<IDomainData> Import(string source, InputConfiguration inputConfiguration = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | |
InputConfiguration | inputConfiguration |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IDomainData> |