Share via


ClientCodeGenerationOptions Class

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Holds options used for DomainService client code generation.

Inheritance Hierarchy

System.Object
  Microsoft.ServiceModel.DomainServices.Tools.ClientCodeGenerationOptions

Namespace:  Microsoft.ServiceModel.DomainServices.Tools
Assembly:  Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ClientCodeGenerationOptions
'Usage
Dim instance As ClientCodeGenerationOptions
[SerializableAttribute]
public class ClientCodeGenerationOptions
[SerializableAttribute]
public ref class ClientCodeGenerationOptions
[<SerializableAttribute>]
type ClientCodeGenerationOptions =  class end
public class ClientCodeGenerationOptions

The ClientCodeGenerationOptions type exposes the following members.

Constructors

  Name Description
Public method ClientCodeGenerationOptions Creates an instance of the ClientCodeGenerationOptions class.

Top

Properties

  Name Description
Public property ClientFrameworkPath Gets or sets the full path to the targeted framework for the client.
Public property ClientProjectPath Gets or sets the full path to the client's project file.
Public property ClientRootNamespace Gets or sets the root namespace of the target project.
Public property IsApplicationContextGenerationEnabled Gets or sets a value indicating whether to perform application-level code generation.
Public property Language Gets or sets the language for code generation.
Public property ServerProjectPath Gets or sets the full path to the server's project file.
Public property ServerRootNamespace Gets or sets the root namespace of the server project.
Public property UseFullTypeNames Gets or sets a value indicating whether fully qualified type names should be used during code generation.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

This is a data class and has no behaviors. It is used solely to package the code generation options.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ServiceModel.DomainServices.Tools Namespace