Compartilhar via


DataModelEventNameHelper Class

Definition

A helper class to validate if event name conforms to data model event name schema, and set properties based on the name. Here's the data model event name schema, It requires that event name is a unique, not null or empty string. It consists of 3 parts and must follows pattern [product]/[featureName]/[entityName]. FeatureName could be a one-level feature or feature hierarchy delimited by "/". For examples, vs/platform/opensolution; vs/platform/editor/lightbulb/fixerror;

public ref class DataModelEventNameHelper abstract sealed
public static class DataModelEventNameHelper
type DataModelEventNameHelper = class
Public Class DataModelEventNameHelper
Inheritance
DataModelEventNameHelper

Methods

SetProductFeatureEntityName(AssetEvent)

Set product name, feature name and entity name by parsing event name string.

SetProductFeatureEntityName(FaultEvent)

Set product name, feature name and entity name by parsing event name string.

SetProductFeatureEntityName(OperationEvent)

Set product name, feature name and entity name by parsing event name string.

Applies to