Open sandboxFocus

Class RecorderProvider

Abstract class that represents a node in the chain of responsibility, starting at the RecorderProvider property, whose role is to provide a default Recorder to recordable objects.

Inheritance
RecorderProvider
Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model.dll
Syntax
[Obsolete("[Recordable] aspect and its components are deprecated and will be removed in a future version.", false)]
public abstract class RecorderProvider
Remarks

The RecordableAttribute aspect uses this chain to attach objects whose AutoRecord property is true. To use a custom provider, assign it to the RecorderProvider property and pass the previous value of this property to its constructor.

Constructors

Name Description
RecorderProvider(RecorderProvider)

Initializes a new instance of the RecorderProvider class.

Methods

Name Description
GetRecorder(object)

Gets the default Recorder for a given object. This method goes through the whole chain of responsibility.

GetRecorderCore(object)

Gets the default Recorder for a given object.

See Also