System.Runtime.Serialization 4.0.0.0 System.Object

The is used to generate code from XML schema using the dnprdnshort CodeDOM. To generate an XML schema from an assembly, use the .

For more information about importing and exporting schemas, see Schema Import and Export and Importing Schema To Generate Classes.

Represents the options that can be set on an .

- Constructor
  4.0.0.0
  To be added.

  Initializes a new instance of the class.

- Property
  4.0.0.0
  System.CodeDom.Compiler.CodeDomProvider To be added.

  To support better code generation for different languages, information about what is supported by the target language needs to be passed to the schema importer. This is done by passing an instance of the class, which provides a method to check whether it supports particular .

  Gets or sets a instance that provides the means to check whether particular options for a target language are supported.

- Property
  4.0.0.0
  System.Runtime.Serialization.IDataContractSurrogate To be added. To be added.

  Gets or sets a data contract surrogate that can be used to modify the code generated during an import operation.

- Property
  4.0.0.0
  System.Boolean To be added.

  This interface is used by dnprdnshort components, such as Windows Forms or Windows Presentation Foundation, to capture data changes for user interface updates. The generated properties raise a property-changed event when the value changes, allowing UI hooks to act accordingly.

  Gets or sets a value that specifies whether types in generated code should implement the interface.

- Property
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets or sets a value that specifies whether generated code will be marked internal or public.

- Property
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets or sets a value that specifies whether generated data contract classes will be marked with the attribute in addition to the attribute.

- Property
  4.0.0.0
  System.Boolean To be added.

  Normally, importing a type that does not conform to a valid data contract schema will fail. However, when this property is set to true, all such types will be imported as types that implement the interface.

  Gets or sets a value that determines whether all XML schema types, even those that do not conform to a data contract schema, will be imported.

- Property
  4.0.0.0
  System.Collections.Generic.IDictionary<System.String,System.String> To be added. To be added.

  Gets a dictionary that contains the mapping of data contract namespaces to the CLR namespaces that must be used to generate code during an import operation.

- Property
  4.0.0.0
  System.Collections.Generic.ICollection<System.Type> To be added.

  By default, an array will be generated when importing a collection schema (unless the schema has a special annotation that mentions a different type). However, if there is a matching type in the collection, that type will be used. For example, when importing schema that contains a list of integers, an array of integers will normally be generated. However, if the collection contains the of type integer, that type will be used instead of the array.

  Gets a collection of types that represents data contract collections that should be referenced when generating code for collections, such as lists or dictionaries of items.

- Property
  4.0.0.0
  System.Collections.Generic.ICollection<System.Type> To be added. To be added.

  Gets a containing types referenced in generated code.