Optionally, you can pass in a provider to the constructor. If you do not, the static RunView.Provider property is used.
This property is used to get the IRunViewProvider implementation that is used by this instance of the RunView class. If a provider was specified to the constructor, that provider is used, otherwise the static RunView.Provider property is used.
StaticProviderThis is the static provider property that is used to get/set the IRunViewProvider implementation that is used by the RunView class. This property can be overridden on a per-instance basis by passing in the optional Provider parameter to the RunView constructor.
Runs a view based on the provided parameters, see documentation for RunViewParams for more
OptionalcontextUser: UserInfoif provided, this user is used for permissions and logging. For server based calls, this is generally required because there is no "Current User" since this object is shared across all requests.
Runs multiple views based on the provided parameters, see documentation for RunViewParams for more information
OptionalcontextUser: UserInfoStaticFromCreates a RunView instance from an IMetadataProvider. At runtime the provider object (ProviderBase) implements both IMetadataProvider and IRunViewProvider, but TypeScript doesn't know that statically. This factory centralizes the cast so callers don't need their own helper methods.
An IMetadataProvider instance (typically from Metadata.Provider or a contextUser's provider)
A new RunView wired to the given provider
StaticGetUtility method that calculates the entity name for a given RunViewParams object by looking at the EntityName property as well as the ViewID/ViewName/ViewEntity properties as needed.
OptionalcontextUser: UserInfo
Class for running views in a generic, tier-independent manner - uses a provider model for implementation transparently from the viewpoint of the consumer of the class. By default the RunView class you create will connect to the DEFAULT provider. If you want your RunView to connect to a different provider, you can pass in the provider to the constructor.