Share via


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

Provides a base class for all CodeProcessor implementations.

Inheritance Hierarchy

System.Object
  System.ServiceModel.DomainServices.Server.CodeProcessor

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

Syntax

'Declaration
Public MustInherit Class CodeProcessor
'Usage
Dim instance As CodeProcessor
public abstract class CodeProcessor
public ref class CodeProcessor abstract
[<AbstractClassAttribute>]
type CodeProcessor =  class end
public abstract class CodeProcessor

The CodeProcessor type exposes the following members.

Constructors

  Name Description
Protected method CodeProcessor Initializes a new instance of the CodeProcessor class.

Top

Properties

  Name Description
Protected property CodeDomProvider Gets the CodeDomProvider used during DomainService 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 ProcessGeneratedCode Provides an implementation for post processing of the CodeCompileUnit.
Public method ToString (Inherited from Object.)

Top

Remarks

Code generation for the service type can be customized by associating a CodeProcessor type with a DomainService type by applying the DomainIdentifierAttribute attribute.

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

System.ServiceModel.DomainServices.Server Namespace