Example #1
0
 public static Guid?GetId(this IValue v)
 {
     return(ValueMetadata.ForValue(v).Id);
 }
Example #2
0
 public static String GetTypeToken(this IValue v)
 {
     return(ValueMetadata.ForValue(v).TypeToken);
 }
Example #3
0
 public static IValue SetId(this IValue v, Guid?id)
 {
     ValueMetadata.ForValue(v).Id = id;
     return(v);
 }
Example #4
0
 public static IValue SetTypeToken(this IValue v, String typeToken)
 {
     ValueMetadata.ForValue(v).TypeToken = typeToken;
     return(v);
 }