Interface IConditionalRecordable
- Namespace
- Dec
- Assembly
- dec.dll
Allows the Recordable aspect to be disabled based on local properties, usersettings, or other factors.
public interface IConditionalRecordable : IRecordable
- Inherited Members
Methods
ShouldRecord(IUserSettings)
Indicates whether this should be treated like an IRecordable.
bool ShouldRecord(Recorder.IUserSettings userSettings)
Parameters
userSettings
Recorder.IUserSettings
Returns
Remarks
If this function returns false, Dec will either use reflection (if available) or return an error as if the object was not serializable.