#pragma warning disable 1591, 0114, 0108
// ------------------------------------------------------------------------------
//
// Generated by Xsd2Code. Version 3.3.0.33001
// OSGeo.MapGuide.ObjectModels.LoadProcedureBindingListCSharpTrueFalseTrueTrueTrueFalseTrueFalseNet20SerializeDeserializeSaveToFileLoadFromFileTrueFalseFalseFalseFalse
//
// ------------------------------------------------------------------------------
namespace OSGeo.MapGuide.ObjectModels.LoadProcedure_1_1_0 {
using System;
using System.Diagnostics;
using System.Xml.Serialization;
using System.Collections;
using System.Xml.Schema;
using System.ComponentModel;
using System.IO;
using OSGeo.MapGuide.ObjectModels.LoadProcedure;
///
/// Specification of a load procedure
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=false)]
public partial class LoadProcedure : LoadProcedureTypeType, System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private string versionField;
private static System.Xml.Serialization.XmlSerializer serializer;
public LoadProcedure() {
this.versionField = "1.1.0";
}
[System.Xml.Serialization.XmlAttributeAttribute()]
public string version {
get {
return this.versionField;
}
set {
if ((this.versionField != null)) {
if ((versionField.Equals(value) != true)) {
this.versionField = value;
this.OnPropertyChanged("version");
}
}
else {
this.versionField = value;
this.OnPropertyChanged("version");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(LoadProcedure));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current LoadProcedure object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an LoadProcedure object
///
/// string workflow markup to deserialize
/// Output LoadProcedure object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out LoadProcedure obj, out System.Exception exception) {
exception = null;
obj = default(LoadProcedure);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out LoadProcedure obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static LoadProcedure Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((LoadProcedure)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current LoadProcedure object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an LoadProcedure object
///
/// string xml file to load and deserialize
/// Output LoadProcedure object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out LoadProcedure obj, out System.Exception exception) {
exception = null;
obj = default(LoadProcedure);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out LoadProcedure obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static LoadProcedure LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this LoadProcedure object
///
public virtual LoadProcedure Clone() {
return ((LoadProcedure)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=true)]
public partial class LoadProcedureTypeType : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private LoadProcedureType itemField;
private static System.Xml.Serialization.XmlSerializer serializer;
[System.Xml.Serialization.XmlElementAttribute("DwfLoadProcedure", typeof(DwfLoadProcedureType))]
[System.Xml.Serialization.XmlElementAttribute("DwgLoadProcedure", typeof(DwgLoadProcedureType))]
[System.Xml.Serialization.XmlElementAttribute("RasterLoadProcedure", typeof(RasterLoadProcedureType))]
[System.Xml.Serialization.XmlElementAttribute("SdfLoadProcedure", typeof(SdfLoadProcedureType))]
[System.Xml.Serialization.XmlElementAttribute("ShpLoadProcedure", typeof(ShpLoadProcedureType))]
public LoadProcedureType Item {
get {
return this.itemField;
}
set {
if ((this.itemField != null)) {
if ((itemField.Equals(value) != true)) {
this.itemField = value;
this.OnPropertyChanged("Item");
}
}
else {
this.itemField = value;
this.OnPropertyChanged("Item");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(LoadProcedureTypeType));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current LoadProcedureTypeType object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an LoadProcedureTypeType object
///
/// string workflow markup to deserialize
/// Output LoadProcedureTypeType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out LoadProcedureTypeType obj, out System.Exception exception) {
exception = null;
obj = default(LoadProcedureTypeType);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out LoadProcedureTypeType obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static LoadProcedureTypeType Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((LoadProcedureTypeType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current LoadProcedureTypeType object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an LoadProcedureTypeType object
///
/// string xml file to load and deserialize
/// Output LoadProcedureTypeType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out LoadProcedureTypeType obj, out System.Exception exception) {
exception = null;
obj = default(LoadProcedureTypeType);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out LoadProcedureTypeType obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static LoadProcedureTypeType LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this LoadProcedureTypeType object
///
public virtual LoadProcedureTypeType Clone() {
return ((LoadProcedureTypeType)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=true)]
public partial class DwfLoadProcedureType : LoadProcedureType, System.ComponentModel.INotifyPropertyChanged {
private static System.Xml.Serialization.XmlSerializer serializer;
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(DwfLoadProcedureType));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current DwfLoadProcedureType object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an DwfLoadProcedureType object
///
/// string workflow markup to deserialize
/// Output DwfLoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out DwfLoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(DwfLoadProcedureType);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out DwfLoadProcedureType obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static DwfLoadProcedureType Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((DwfLoadProcedureType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current DwfLoadProcedureType object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an DwfLoadProcedureType object
///
/// string xml file to load and deserialize
/// Output DwfLoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out DwfLoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(DwfLoadProcedureType);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out DwfLoadProcedureType obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static DwfLoadProcedureType LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this DwfLoadProcedureType object
///
public virtual DwfLoadProcedureType Clone() {
return ((DwfLoadProcedureType)(this.MemberwiseClone()));
}
#endregion
}
[System.Xml.Serialization.XmlIncludeAttribute(typeof(DwgLoadProcedureType))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(RasterLoadProcedureType))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ShpLoadProcedureType))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(DwfLoadProcedureType))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(SdfLoadProcedureType))]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=true)]
public partial class LoadProcedureType : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList sourceFileField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string rootPathField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string coordinateSystemField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool generateSpatialDataSourcesField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string spatialDataSourcesPathField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string spatialDataSourcesFolderField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool generateLayersField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string layersPathField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string layersFolderField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool generateMapsField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool generateMapsFieldSpecified;
[EditorBrowsable(EditorBrowsableState.Never)]
private string mapsPathField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string mapsFolderField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool generateSymbolLibrariesField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool generateSymbolLibrariesFieldSpecified;
[EditorBrowsable(EditorBrowsableState.Never)]
private string symbolLibrariesPathField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string symbolLibrariesFolderField;
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList resourceIdField;
private static System.Xml.Serialization.XmlSerializer serializer;
[System.Xml.Serialization.XmlElementAttribute("SourceFile")]
public BindingList SourceFile {
get {
return this.sourceFileField;
}
set {
if ((this.sourceFileField != null)) {
if ((sourceFileField.Equals(value) != true)) {
this.sourceFileField = value;
this.OnPropertyChanged("SourceFile");
}
}
else {
this.sourceFileField = value;
this.OnPropertyChanged("SourceFile");
}
}
}
public string RootPath {
get {
return this.rootPathField;
}
set {
if ((this.rootPathField != null)) {
if ((rootPathField.Equals(value) != true)) {
this.rootPathField = value;
this.OnPropertyChanged("RootPath");
}
}
else {
this.rootPathField = value;
this.OnPropertyChanged("RootPath");
}
}
}
public string CoordinateSystem {
get {
return this.coordinateSystemField;
}
set {
if ((this.coordinateSystemField != null)) {
if ((coordinateSystemField.Equals(value) != true)) {
this.coordinateSystemField = value;
this.OnPropertyChanged("CoordinateSystem");
}
}
else {
this.coordinateSystemField = value;
this.OnPropertyChanged("CoordinateSystem");
}
}
}
public bool GenerateSpatialDataSources {
get {
return this.generateSpatialDataSourcesField;
}
set {
if ((generateSpatialDataSourcesField.Equals(value) != true)) {
this.generateSpatialDataSourcesField = value;
this.OnPropertyChanged("GenerateSpatialDataSources");
}
}
}
public string SpatialDataSourcesPath {
get {
return this.spatialDataSourcesPathField;
}
set {
if ((this.spatialDataSourcesPathField != null)) {
if ((spatialDataSourcesPathField.Equals(value) != true)) {
this.spatialDataSourcesPathField = value;
this.OnPropertyChanged("SpatialDataSourcesPath");
}
}
else {
this.spatialDataSourcesPathField = value;
this.OnPropertyChanged("SpatialDataSourcesPath");
}
}
}
public string SpatialDataSourcesFolder {
get {
return this.spatialDataSourcesFolderField;
}
set {
if ((this.spatialDataSourcesFolderField != null)) {
if ((spatialDataSourcesFolderField.Equals(value) != true)) {
this.spatialDataSourcesFolderField = value;
this.OnPropertyChanged("SpatialDataSourcesFolder");
}
}
else {
this.spatialDataSourcesFolderField = value;
this.OnPropertyChanged("SpatialDataSourcesFolder");
}
}
}
public bool GenerateLayers {
get {
return this.generateLayersField;
}
set {
if ((generateLayersField.Equals(value) != true)) {
this.generateLayersField = value;
this.OnPropertyChanged("GenerateLayers");
}
}
}
public string LayersPath {
get {
return this.layersPathField;
}
set {
if ((this.layersPathField != null)) {
if ((layersPathField.Equals(value) != true)) {
this.layersPathField = value;
this.OnPropertyChanged("LayersPath");
}
}
else {
this.layersPathField = value;
this.OnPropertyChanged("LayersPath");
}
}
}
public string LayersFolder {
get {
return this.layersFolderField;
}
set {
if ((this.layersFolderField != null)) {
if ((layersFolderField.Equals(value) != true)) {
this.layersFolderField = value;
this.OnPropertyChanged("LayersFolder");
}
}
else {
this.layersFolderField = value;
this.OnPropertyChanged("LayersFolder");
}
}
}
public bool GenerateMaps {
get {
return this.generateMapsField;
}
set {
if ((generateMapsField.Equals(value) != true)) {
this.generateMapsField = value;
this.OnPropertyChanged("GenerateMaps");
}
}
}
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool GenerateMapsSpecified {
get {
return this.generateMapsFieldSpecified;
}
set {
if ((generateMapsFieldSpecified.Equals(value) != true)) {
this.generateMapsFieldSpecified = value;
this.OnPropertyChanged("GenerateMapsSpecified");
}
}
}
public string MapsPath {
get {
return this.mapsPathField;
}
set {
if ((this.mapsPathField != null)) {
if ((mapsPathField.Equals(value) != true)) {
this.mapsPathField = value;
this.OnPropertyChanged("MapsPath");
}
}
else {
this.mapsPathField = value;
this.OnPropertyChanged("MapsPath");
}
}
}
public string MapsFolder {
get {
return this.mapsFolderField;
}
set {
if ((this.mapsFolderField != null)) {
if ((mapsFolderField.Equals(value) != true)) {
this.mapsFolderField = value;
this.OnPropertyChanged("MapsFolder");
}
}
else {
this.mapsFolderField = value;
this.OnPropertyChanged("MapsFolder");
}
}
}
public bool GenerateSymbolLibraries {
get {
return this.generateSymbolLibrariesField;
}
set {
if ((generateSymbolLibrariesField.Equals(value) != true)) {
this.generateSymbolLibrariesField = value;
this.OnPropertyChanged("GenerateSymbolLibraries");
}
}
}
[System.Xml.Serialization.XmlIgnoreAttribute()]
public bool GenerateSymbolLibrariesSpecified {
get {
return this.generateSymbolLibrariesFieldSpecified;
}
set {
if ((generateSymbolLibrariesFieldSpecified.Equals(value) != true)) {
this.generateSymbolLibrariesFieldSpecified = value;
this.OnPropertyChanged("GenerateSymbolLibrariesSpecified");
}
}
}
public string SymbolLibrariesPath {
get {
return this.symbolLibrariesPathField;
}
set {
if ((this.symbolLibrariesPathField != null)) {
if ((symbolLibrariesPathField.Equals(value) != true)) {
this.symbolLibrariesPathField = value;
this.OnPropertyChanged("SymbolLibrariesPath");
}
}
else {
this.symbolLibrariesPathField = value;
this.OnPropertyChanged("SymbolLibrariesPath");
}
}
}
public string SymbolLibrariesFolder {
get {
return this.symbolLibrariesFolderField;
}
set {
if ((this.symbolLibrariesFolderField != null)) {
if ((symbolLibrariesFolderField.Equals(value) != true)) {
this.symbolLibrariesFolderField = value;
this.OnPropertyChanged("SymbolLibrariesFolder");
}
}
else {
this.symbolLibrariesFolderField = value;
this.OnPropertyChanged("SymbolLibrariesFolder");
}
}
}
[System.Xml.Serialization.XmlElementAttribute("ResourceId")]
public BindingList ResourceId {
get {
return this.resourceIdField;
}
set {
if ((this.resourceIdField != null)) {
if ((resourceIdField.Equals(value) != true)) {
this.resourceIdField = value;
this.OnPropertyChanged("ResourceId");
}
}
else {
this.resourceIdField = value;
this.OnPropertyChanged("ResourceId");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(LoadProcedureType));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current LoadProcedureType object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an LoadProcedureType object
///
/// string workflow markup to deserialize
/// Output LoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out LoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(LoadProcedureType);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out LoadProcedureType obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static LoadProcedureType Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((LoadProcedureType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current LoadProcedureType object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an LoadProcedureType object
///
/// string xml file to load and deserialize
/// Output LoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out LoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(LoadProcedureType);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out LoadProcedureType obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static LoadProcedureType LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this LoadProcedureType object
///
public virtual LoadProcedureType Clone() {
return ((LoadProcedureType)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=true)]
public partial class DwgLayerComponentType : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private string nameField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool selectedField;
private static System.Xml.Serialization.XmlSerializer serializer;
public string Name {
get {
return this.nameField;
}
set {
if ((this.nameField != null)) {
if ((nameField.Equals(value) != true)) {
this.nameField = value;
this.OnPropertyChanged("Name");
}
}
else {
this.nameField = value;
this.OnPropertyChanged("Name");
}
}
}
public bool Selected {
get {
return this.selectedField;
}
set {
if ((selectedField.Equals(value) != true)) {
this.selectedField = value;
this.OnPropertyChanged("Selected");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(DwgLayerComponentType));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current DwgLayerComponentType object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an DwgLayerComponentType object
///
/// string workflow markup to deserialize
/// Output DwgLayerComponentType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out DwgLayerComponentType obj, out System.Exception exception) {
exception = null;
obj = default(DwgLayerComponentType);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out DwgLayerComponentType obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static DwgLayerComponentType Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((DwgLayerComponentType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current DwgLayerComponentType object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an DwgLayerComponentType object
///
/// string xml file to load and deserialize
/// Output DwgLayerComponentType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out DwgLayerComponentType obj, out System.Exception exception) {
exception = null;
obj = default(DwgLayerComponentType);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out DwgLayerComponentType obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static DwgLayerComponentType LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this DwgLayerComponentType object
///
public virtual DwgLayerComponentType Clone() {
return ((DwgLayerComponentType)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=true)]
public partial class DwgFileComponentType : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private string nameField;
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList layerComponentsField;
private static System.Xml.Serialization.XmlSerializer serializer;
public string Name {
get {
return this.nameField;
}
set {
if ((this.nameField != null)) {
if ((nameField.Equals(value) != true)) {
this.nameField = value;
this.OnPropertyChanged("Name");
}
}
else {
this.nameField = value;
this.OnPropertyChanged("Name");
}
}
}
[System.Xml.Serialization.XmlArrayItemAttribute("LayerComponent", IsNullable=false)]
public BindingList LayerComponents {
get {
return this.layerComponentsField;
}
set {
if ((this.layerComponentsField != null)) {
if ((layerComponentsField.Equals(value) != true)) {
this.layerComponentsField = value;
this.OnPropertyChanged("LayerComponents");
}
}
else {
this.layerComponentsField = value;
this.OnPropertyChanged("LayerComponents");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(DwgFileComponentType));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current DwgFileComponentType object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an DwgFileComponentType object
///
/// string workflow markup to deserialize
/// Output DwgFileComponentType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out DwgFileComponentType obj, out System.Exception exception) {
exception = null;
obj = default(DwgFileComponentType);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out DwgFileComponentType obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static DwgFileComponentType Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((DwgFileComponentType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current DwgFileComponentType object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an DwgFileComponentType object
///
/// string xml file to load and deserialize
/// Output DwgFileComponentType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out DwgFileComponentType obj, out System.Exception exception) {
exception = null;
obj = default(DwgFileComponentType);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out DwgFileComponentType obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static DwgFileComponentType LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this DwgFileComponentType object
///
public virtual DwgFileComponentType Clone() {
return ((DwgFileComponentType)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=true)]
public partial class GeoReferenceOverrideType : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private string sourceFileField;
[EditorBrowsable(EditorBrowsableState.Never)]
private double locationXField;
[EditorBrowsable(EditorBrowsableState.Never)]
private double locationYField;
[EditorBrowsable(EditorBrowsableState.Never)]
private double scaleXField;
[EditorBrowsable(EditorBrowsableState.Never)]
private double scaleYField;
private static System.Xml.Serialization.XmlSerializer serializer;
public string SourceFile {
get {
return this.sourceFileField;
}
set {
if ((this.sourceFileField != null)) {
if ((sourceFileField.Equals(value) != true)) {
this.sourceFileField = value;
this.OnPropertyChanged("SourceFile");
}
}
else {
this.sourceFileField = value;
this.OnPropertyChanged("SourceFile");
}
}
}
public double LocationX {
get {
return this.locationXField;
}
set {
if ((locationXField.Equals(value) != true)) {
this.locationXField = value;
this.OnPropertyChanged("LocationX");
}
}
}
public double LocationY {
get {
return this.locationYField;
}
set {
if ((locationYField.Equals(value) != true)) {
this.locationYField = value;
this.OnPropertyChanged("LocationY");
}
}
}
public double ScaleX {
get {
return this.scaleXField;
}
set {
if ((scaleXField.Equals(value) != true)) {
this.scaleXField = value;
this.OnPropertyChanged("ScaleX");
}
}
}
public double ScaleY {
get {
return this.scaleYField;
}
set {
if ((scaleYField.Equals(value) != true)) {
this.scaleYField = value;
this.OnPropertyChanged("ScaleY");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(GeoReferenceOverrideType));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current GeoReferenceOverrideType object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an GeoReferenceOverrideType object
///
/// string workflow markup to deserialize
/// Output GeoReferenceOverrideType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out GeoReferenceOverrideType obj, out System.Exception exception) {
exception = null;
obj = default(GeoReferenceOverrideType);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out GeoReferenceOverrideType obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static GeoReferenceOverrideType Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((GeoReferenceOverrideType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current GeoReferenceOverrideType object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an GeoReferenceOverrideType object
///
/// string xml file to load and deserialize
/// Output GeoReferenceOverrideType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out GeoReferenceOverrideType obj, out System.Exception exception) {
exception = null;
obj = default(GeoReferenceOverrideType);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out GeoReferenceOverrideType obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static GeoReferenceOverrideType LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this GeoReferenceOverrideType object
///
public virtual GeoReferenceOverrideType Clone() {
return ((GeoReferenceOverrideType)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=true)]
public partial class DwgLoadProcedureType : LoadProcedureType, System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList fileComponentsField;
[EditorBrowsable(EditorBrowsableState.Never)]
private double generalizationField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool closedPolylinesToPolygonsField;
private static System.Xml.Serialization.XmlSerializer serializer;
[System.Xml.Serialization.XmlArrayItemAttribute("FileComponent", IsNullable=false)]
public BindingList FileComponents {
get {
return this.fileComponentsField;
}
set {
if ((this.fileComponentsField != null)) {
if ((fileComponentsField.Equals(value) != true)) {
this.fileComponentsField = value;
this.OnPropertyChanged("FileComponents");
}
}
else {
this.fileComponentsField = value;
this.OnPropertyChanged("FileComponents");
}
}
}
public double Generalization {
get {
return this.generalizationField;
}
set {
if ((generalizationField.Equals(value) != true)) {
this.generalizationField = value;
this.OnPropertyChanged("Generalization");
}
}
}
public bool ClosedPolylinesToPolygons {
get {
return this.closedPolylinesToPolygonsField;
}
set {
if ((closedPolylinesToPolygonsField.Equals(value) != true)) {
this.closedPolylinesToPolygonsField = value;
this.OnPropertyChanged("ClosedPolylinesToPolygons");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(DwgLoadProcedureType));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current DwgLoadProcedureType object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an DwgLoadProcedureType object
///
/// string workflow markup to deserialize
/// Output DwgLoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out DwgLoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(DwgLoadProcedureType);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out DwgLoadProcedureType obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static DwgLoadProcedureType Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((DwgLoadProcedureType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current DwgLoadProcedureType object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an DwgLoadProcedureType object
///
/// string xml file to load and deserialize
/// Output DwgLoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out DwgLoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(DwgLoadProcedureType);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out DwgLoadProcedureType obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static DwgLoadProcedureType LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this DwgLoadProcedureType object
///
public virtual DwgLoadProcedureType Clone() {
return ((DwgLoadProcedureType)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=true)]
public partial class RasterLoadProcedureType : LoadProcedureType, System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private string featureSourceNameField;
[EditorBrowsable(EditorBrowsableState.Never)]
private double subsampleFactorField;
[EditorBrowsable(EditorBrowsableState.Never)]
private OverlapTreatmentType overlapTreatmentTypeField;
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList geoReferenceOverrideField;
private static System.Xml.Serialization.XmlSerializer serializer;
public string FeatureSourceName {
get {
return this.featureSourceNameField;
}
set {
if ((this.featureSourceNameField != null)) {
if ((featureSourceNameField.Equals(value) != true)) {
this.featureSourceNameField = value;
this.OnPropertyChanged("FeatureSourceName");
}
}
else {
this.featureSourceNameField = value;
this.OnPropertyChanged("FeatureSourceName");
}
}
}
public double SubsampleFactor {
get {
return this.subsampleFactorField;
}
set {
if ((subsampleFactorField.Equals(value) != true)) {
this.subsampleFactorField = value;
this.OnPropertyChanged("SubsampleFactor");
}
}
}
public OverlapTreatmentType OverlapTreatmentType {
get {
return this.overlapTreatmentTypeField;
}
set {
if ((overlapTreatmentTypeField.Equals(value) != true)) {
this.overlapTreatmentTypeField = value;
this.OnPropertyChanged("OverlapTreatmentType");
}
}
}
[System.Xml.Serialization.XmlElementAttribute("GeoReferenceOverride")]
public BindingList GeoReferenceOverride {
get {
return this.geoReferenceOverrideField;
}
set {
if ((this.geoReferenceOverrideField != null)) {
if ((geoReferenceOverrideField.Equals(value) != true)) {
this.geoReferenceOverrideField = value;
this.OnPropertyChanged("GeoReferenceOverride");
}
}
else {
this.geoReferenceOverrideField = value;
this.OnPropertyChanged("GeoReferenceOverride");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(RasterLoadProcedureType));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current RasterLoadProcedureType object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an RasterLoadProcedureType object
///
/// string workflow markup to deserialize
/// Output RasterLoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out RasterLoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(RasterLoadProcedureType);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out RasterLoadProcedureType obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static RasterLoadProcedureType Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((RasterLoadProcedureType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current RasterLoadProcedureType object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an RasterLoadProcedureType object
///
/// string xml file to load and deserialize
/// Output RasterLoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out RasterLoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(RasterLoadProcedureType);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out RasterLoadProcedureType obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static RasterLoadProcedureType LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this RasterLoadProcedureType object
///
public virtual RasterLoadProcedureType Clone() {
return ((RasterLoadProcedureType)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
public enum OverlapTreatmentType {
///
None,
///
ForegroundOn,
///
ForegroundOff,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=true)]
public partial class ShpLoadProcedureType : LoadProcedureType, System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private double generalizationField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool convertToSdfField;
private static System.Xml.Serialization.XmlSerializer serializer;
public double Generalization {
get {
return this.generalizationField;
}
set {
if ((generalizationField.Equals(value) != true)) {
this.generalizationField = value;
this.OnPropertyChanged("Generalization");
}
}
}
public bool ConvertToSdf {
get {
return this.convertToSdfField;
}
set {
if ((convertToSdfField.Equals(value) != true)) {
this.convertToSdfField = value;
this.OnPropertyChanged("ConvertToSdf");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(ShpLoadProcedureType));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current ShpLoadProcedureType object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an ShpLoadProcedureType object
///
/// string workflow markup to deserialize
/// Output ShpLoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out ShpLoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(ShpLoadProcedureType);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out ShpLoadProcedureType obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static ShpLoadProcedureType Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((ShpLoadProcedureType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current ShpLoadProcedureType object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an ShpLoadProcedureType object
///
/// string xml file to load and deserialize
/// Output ShpLoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out ShpLoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(ShpLoadProcedureType);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out ShpLoadProcedureType obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static ShpLoadProcedureType LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this ShpLoadProcedureType object
///
public virtual ShpLoadProcedureType Clone() {
return ((ShpLoadProcedureType)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=true)]
public partial class SdfLoadProcedureType : LoadProcedureType, System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private double generalizationField;
[EditorBrowsable(EditorBrowsableState.Never)]
private SdfKeyTreatmentType sdfKeyTreatmentField;
private static System.Xml.Serialization.XmlSerializer serializer;
public double Generalization {
get {
return this.generalizationField;
}
set {
if ((generalizationField.Equals(value) != true)) {
this.generalizationField = value;
this.OnPropertyChanged("Generalization");
}
}
}
public SdfKeyTreatmentType SdfKeyTreatment {
get {
return this.sdfKeyTreatmentField;
}
set {
if ((sdfKeyTreatmentField.Equals(value) != true)) {
this.sdfKeyTreatmentField = value;
this.OnPropertyChanged("SdfKeyTreatment");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(SdfLoadProcedureType));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current SdfLoadProcedureType object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an SdfLoadProcedureType object
///
/// string workflow markup to deserialize
/// Output SdfLoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out SdfLoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(SdfLoadProcedureType);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out SdfLoadProcedureType obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static SdfLoadProcedureType Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((SdfLoadProcedureType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current SdfLoadProcedureType object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an SdfLoadProcedureType object
///
/// string xml file to load and deserialize
/// Output SdfLoadProcedureType object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out SdfLoadProcedureType obj, out System.Exception exception) {
exception = null;
obj = default(SdfLoadProcedureType);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out SdfLoadProcedureType obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static SdfLoadProcedureType LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this SdfLoadProcedureType object
///
public virtual SdfLoadProcedureType Clone() {
return ((SdfLoadProcedureType)(this.MemberwiseClone()));
}
#endregion
}
}