Skip to main content

StaticJsonDataSourceBuilder Members

Provides methods that allow you to configure access to read-only data in JSON format.

Constructors

Name Description
StaticJsonDataSourceBuilder(OptionsOwnerContext) For internal use only. Initializes a new StaticJsonDataSourceBuilder class instance.

Methods

Name Description
CacheAllData(Boolean) Specifies whether to cache loaded JSON data.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ErrorHandler(RazorBlock) A function that is executed when an error occurs.
ErrorHandler(String) A function that is executed when an error occurs.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Key(String[]) Specifies the key property or properties.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnInserted(RazorBlock) A function that is executed after a data item is added.
OnInserted(String) A function that is executed after a data item is added.
OnInserting(RazorBlock) A function that is executed before a data item is added.
OnInserting(String) A function that is executed before a data item is added.
OnLoaded(RazorBlock) A function that is executed after data is loaded.
OnLoaded(String) A function that is executed after data is loaded.
OnLoading(RazorBlock) A function that is executed before data is loaded.
OnLoading(String) A function that is executed before data is loaded.
OnModified(RazorBlock) A function that is executed after a data item is added, updated, or removed.
OnModified(String) A function that is executed after a data item is added, updated, or removed.
OnModifying(RazorBlock) A function that is executed before a data item is added, updated, or removed.
OnModifying(String) A function that is executed before a data item is added, updated, or removed.
OnPush(RazorBlock) A function that is executed before changes are pushed.
OnPush(String) A function that is executed before changes are pushed.
OnRemoved(RazorBlock) A function that is executed after a data item is removed.
OnRemoved(String) A function that is executed after a data item is removed.
OnRemoving(RazorBlock) A function that is executed before a data item is removed.
OnRemoving(String) A function that is executed before a data item is removed.
OnUpdated(RazorBlock) A function that is executed after a data item is updated.
OnUpdated(String) A function that is executed after a data item is updated.
OnUpdating(RazorBlock) A function that is executed before a data item is updated.
OnUpdating(String) A function that is executed before a data item is updated.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
Url(String) Specifies the URL used to load JSON data.
See Also