#if NET_2_0 using System.Collections.Generic; namespace System.Runtime.Serialization { public class ImportOptions { IDataContractSurrogate surrogate; ICollection referenced_collection_types = new List (); ICollection referenced_types = new List (); bool enable_data_binding; bool generate_internal; bool generate_serializable; bool import_xml_type; IDictionary namespaces = new Dictionary (); public ImportOptions () { } public IDataContractSurrogate DataContractSurrogate { get { return surrogate; } set { surrogate = value; } } public bool EnableDataBinding { get { return enable_data_binding; } set { enable_data_binding = value; } } public bool GenerateInternal { get { return generate_internal; } set { generate_internal = value; } } public bool GenerateSerializable { get { return generate_serializable; } set { generate_serializable = value; } } public bool ImportXmlType { get { return import_xml_type; } set { import_xml_type = value; } } public IDictionary Namespaces { get { return namespaces; } } public ICollection ReferencedCollectionTypes { get { return referenced_collection_types; } } public ICollection ReferencedTypes { get { return referenced_types; } } } } #endif