internal SupportedCollection(
     Uri memberId, SupportedCollectionAttribute supportedCollectionAttribute)
 {
     Description     = supportedCollectionAttribute.Description;
     Id              = supportedCollectionAttribute.Id;
     MemberAssertion = new MemberAssertion(@object: memberId, property: new Uri(Rdf.Type));
     Title           = supportedCollectionAttribute.Title;
 }
Beispiel #2
0
 internal SupportedCollection(
     Uri memberId,
     SupportedCollectionAttribute supportedCollectionAttribute,
     string contextPrefix)
 {
     Description     = supportedCollectionAttribute.Description;
     Id              = new Uri($"{contextPrefix}:{supportedCollectionAttribute.Id}");
     MemberAssertion = new MemberAssertion(@object: memberId, property: new Uri(Rdf.Type));
     Title           = supportedCollectionAttribute.Title;
     Types           = new[] { "Collection" };
 }