ResourceId() public static method

public static ResourceId ( string resourceId ) : void
resourceId string
return void
 public static void HasResourceId(IKey key)
 {
     if (key.HasResourceId())
     {
         Validate.ResourceId(key.ResourceId);
     }
     else
     {
         throw Error.BadRequest("The request should have a resource id.");
     }
 }
 public static void Key(IKey key)
 {
     if (key.HasResourceId())
     {
         Validate.ResourceId(key.ResourceId);
     }
     if (key.HasVersionId())
     {
         Validate.VersionId(key.VersionId);
     }
     if (!string.IsNullOrEmpty(key.TypeName))
     {
         Validate.TypeName(key.TypeName);
     }
 }