internal SupportedClass( SupportedClassAttribute supportedClassAttribute, string contextPrefix, NodeShape?nodeShape = null) { Description = supportedClassAttribute.Description; Id = new Uri($"{contextPrefix}:{supportedClassAttribute.Id}"); PropertyShapes = nodeShape?.WithContextPrefix(contextPrefix).PropertyShapes; Title = supportedClassAttribute.Title; Types = nodeShape == null ? new[] { "Class" } : new[] { "Class", "NodeShape" }; }
internal SupportedClass(SupportedClassAttribute supportedClassAttribute) { Description = supportedClassAttribute.Description; Id = supportedClassAttribute.Id; Title = supportedClassAttribute.Title; }