Specifies the traits class associated with a service contract.

Namespace:  Gallio.Runtime.Extensibility
Assembly:  Gallio (in Gallio.dll) Version: 3.2.0.0 (3.2.371.0)

Syntax

C#
public sealed class TraitsAttribute : Attribute
Visual Basic (Declaration)
Public NotInheritable Class TraitsAttribute _
	Inherits Attribute

Remarks

This attribute enables the runtime to bind a service contract to its traits. If no attribute is specified then it is presumed that the service has an empty traits class (represented by Traits).

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    Gallio.Runtime.Extensibility..::.TraitsAttribute

See Also