Specifies the traits class associated with a service contract.
Namespace:
Gallio.Runtime.ExtensibilityAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.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
System..::.Attribute
Gallio.Runtime.Extensibility..::.TraitsAttribute
