The base class for plugin, service or component traits.

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

Syntax

C#
public class Traits
Visual Basic (Declaration)
Public Class Traits

Remarks

Subclasses should include properties with getters and setters for binding configuration values associated with services (aka. traits). They may also include methods and other service-specific functionality based on the traits.

Traits objects are instantiated in the same way as other components. The container injects required dependencies (on services or configuration values) in the constructor and injects optional dependencies into settable properties.

Inheritance Hierarchy

See Also