digitaltwinconsortium/DTDLParser

Feature proposal: break out DTInterfaceInfo/Contents property by subtype

jrdouceur opened this issue · 0 comments

This is a proposal for an additional set of properties on the DTInterfaceInfo class that provide a breakout of the Contents property by subtype. So, in addition to the current property:

public IReadOnlyDictionary<string, DTContentInfo> Contents { get; }

There would be 5 new properties:

public IReadOnlyDictionary<string, DTComponentInfo> Components { get; }
public IReadOnlyDictionary<string, DTPropertyInfo> Properties { get; }
public IReadOnlyDictionary<string, DTTelemetryInfo> Telemetries { get; }
public IReadOnlyDictionary<string, DTCommandInfo> Commands { get; }
public IReadOnlyDictionary<string, DTRelationshipInfo> Relationships { get; }