//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ElenaK
//------------------------------------------------------------------------------
namespace System.Xml.Serialization
{
using System.ComponentModel;
///
///
/// Specifies varoius flavours of XmlCodeExporter generated code.
///
[Flags]
public enum CodeGenerationOptions
{
///
///
///
/// Default: use clr primitives for xsd primitives, generate fields and arrays.
///
///
[XmlIgnore]
None = 0,
///
///
///
/// Generate propertyes instead of fields.
///
///
[XmlEnum("properties")]
GenerateProperties = 0x1,
///
///
///
/// Generate new RAD asynchronous pattern. The feature allows customers to use an event-based model for invoking Web services asynchronously.
///
///
[XmlEnum("newAsync")]
GenerateNewAsync = 0x2,
///
///
///
/// Generate old asynchronous pattern: BeginXXX/EndXXX.
///
///
[XmlEnum("oldAsync")]
GenerateOldAsync = 0x4,
///
///
///
/// Generate OM using explicit ordering feature.
///
///
[XmlEnum("order")]
GenerateOrder = 0x08,
///
///
///
/// Generate OM INotifyPropertyChanged interface to enable data binding.
///
///
[XmlEnum("enableDataBinding")]
EnableDataBinding = 0x10,
}
}