Behavior ClassNFX Class Library

[This is preliminary documentation and is subject to change.]

Represents a piece of logic that can be applied to different entities declaratively as attribute or through configuration. Behaviors are a form of inversion-of-control that allows to configure entities by code which itself can be injected by name from configuration. Behaviors are a form of aspect-oriented programming as they allow to proclaim certain "behavior" that knows how to implement itself on various application components (i.e. some behavior may inject Glue message inspector or log destination). Behaviors can be used to enforce policies by performing pre-run checks and throw exceptions if certain required providers are not injected/configured
Inheritance Hierarchy

OnlineSystem Object
  OnlineSystem Attribute
    NFX.Environment Behavior

Namespace: NFX.Environment
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public abstract class Behavior : Attribute, 
	IConfigurable
See Also