YetaWF.DataProvider.File Package Documentation


YetaWF.DataProvider.FileDataProvider<KEYTYPE,OBJTYPE>.CalculatedPropertyCallbackAsync Property

An optional callback which is called whenever an object is retrieved to update some properties.

Class: YetaWF.DataProvider.FileDataProvider<KEYTYPE,OBJTYPE>
Namespace: YetaWF.DataProvider
Assembly: YetaWF.DataProvider.File


public Func<string,object,Task<object>> CalculatedPropertyCallbackAsync { get; set; }


Properties that are derived from other property values are considered "calculated properties". This callback is called after retrieving an object to update these properties.

This callback is typically set by the data provider itself, in its constructor or as the data provider is being created.

See Also YetaWF.DataProvider.FileDataProvider<KEYTYPE,OBJTYPE> ClassYetaWF.DataProvider.FileYetaWF.Core