Exemplo n.º 1
0
 /// <summary>
 /// Compares two specified resource types and returns an integer that indicates
 /// their relationship to one another in the inheritance hierarchy.
 /// </summary>
 /// <param name="resourceTypeFullNameA">The first resource type full name.</param>
 /// <param name="resourceTypeFullNameB">The second resource type full name.</param>
 /// <returns>A 32-bit signed integer indicating the relationship between the two
 /// Value Condition Less than zero resourceTypeFullNameB is derived from resourceTypeFullNameA.
 /// Value Condition Greater than zero resourceTypeFullNameA is derived from resourceTypeFullNameB.
 /// Zero, resourceTypeFullNameA and resourceTypeFullNameB have no relation.
 /// </returns>
 public int CompareResourceTypes(string resourceTypeFullNameA, string resourceTypeFullNameB)
 {
     return(ResourceTypeHelper.CompareResourceTypes(
                resourceTypeFullNameA, resourceTypeFullNameB, context));
 }