Example #1
0
 // just for fun: get all the facet values as a Dictionary
 public static Dictionary <string, object> AsDictionary(this ReadOnlyMetadataCollection <Facet> facets)
 {
     return(facets.ToDictionary(o => o.Name, o => o.Value));
 }