Open sandboxFocus

Interface IRecordable

Interface implemented by the RecordableAttribute aspect.

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 interface IRecordable
Remarks

The RecordableAttribute aspect also adds this interface at run time to the advisable collections and dictionaries that it manages. Because these objects do not implement the interface at build time, a cast does not work on them: use QueryInterface<T>(object, bool) instead.

Properties

Name Description
Recorder

Gets the recorder attached to the current object.

Methods

Name Description
HasRecorder(bool)

Determines whether the current object is attached to a Recorder. If it is not, optionally attaches the object to the default Recorder.

See Also