Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 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" };
 }