示例#1
0
 public static List <ResourceType> GetExpandedResourceTypes(this RequestDescription requestDescription)
 {
     return(requestDescription.GetAnnotation <List <ResourceType> >(ExpandedResourceTypesName));
 }
示例#2
0
 public static bool GetPostServiceOperation(this RequestDescription requestDescription)
 {
     return(requestDescription.GetAnnotation <bool?>(PostServiceOperationName) == true);
 }
示例#3
0
 public static bool GetInvalidClientRequest(this RequestDescription requestDescription)
 {
     return(requestDescription.GetAnnotation <bool?>(InvalidClientRequestAnnotationName) == true);
 }
示例#4
0
 public static ResourceProperty GetPropertyForPropertyOnlyOperation(this RequestDescription requestDescription)
 {
     return(requestDescription.GetAnnotation <ResourceProperty>(PropertyForPropertyOnlyOperationName));
 }
示例#5
0
 public static bool GetInherentOrderByKeys(this RequestDescription requestDescription)
 {
     return(requestDescription.GetAnnotation <bool?>(InherentOrderByKeysAnnotationName) == true);
 }
示例#6
0
 public static ResourceProperty GetSpecialExpandOnLinksProperty(this RequestDescription requestDescription)
 {
     return(requestDescription.GetAnnotation <ResourceProperty>(SpecialExpandOnLinksPropertyAnnotationName));
 }
示例#7
0
 public static ResourceProperty GetExpandProperty(this RequestDescription requestDescription)
 {
     return(requestDescription.GetAnnotation <ResourceProperty>(ExpandPropertyAnnotationName));
 }
示例#8
0
 public static ServiceVersions GetPOSTVersions(this RequestDescription requestDescription)
 {
     return(requestDescription.GetAnnotation <ServiceVersions>(POSTVersionsAnnotationName));
 }
示例#9
0
 public static ServiceVersions GetPUTPATCHVersions(this RequestDescription requestDescription)
 {
     return(requestDescription.GetAnnotation <ServiceVersions>(PUTMERGEVersionsAnnotationName));
 }