Ejemplo n.º 1
0
 /// <summary>
 /// Check if the given type reference is Scope Schema.
 /// </summary>
 /// <param name="tref"></param>
 /// <returns></returns>
 public bool IsSchema(ITypeReference tref)
 {
     return(tref.SubtypeOf(schemaType, host));
 }
 /// <summary>
 /// Check if the given type reference is Scope Schema.
 /// </summary>
 /// <param name="tref"></param>
 /// <returns></returns>
 public bool IsSchema(ITypeReference tref)
 {
     return(schemaTypes.Any(s => tref.SubtypeOf(s, host)));
 }