Share via


IDomainServiceClientCodeGenerator Interface

[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.]

Defines the common interface for code generators that produce client code from DomainServiceDescription instances.

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

Syntax

'Declaration
Public Interface IDomainServiceClientCodeGenerator
'Usage
Dim instance As IDomainServiceClientCodeGenerator
public interface IDomainServiceClientCodeGenerator
public interface class IDomainServiceClientCodeGenerator
type IDomainServiceClientCodeGenerator =  interface end
public interface IDomainServiceClientCodeGenerator

The IDomainServiceClientCodeGenerator type exposes the following members.

Methods

  Name Description
Public method GenerateCode Generates the source code for the client classes for the specified domainServiceDescriptions.

Top

Remarks

Implementations of this interface are expected to be stateless objects that can be invoked to generate code on demand. A single instance of this class may be used multiple times with different sets of inputs.

See Also

Reference

Microsoft.ServiceModel.DomainServices.Tools Namespace