/// <summary> /// Creates a new ParseObject based upon a given subclass type. /// </summary> /// <returns>A new ParseObject for the given class name.</returns> public static T CreateObject <T>(this IParseObjectClassController classController, IServiceHub serviceHub) where T : ParseObject => (T)classController.Instantiate(classController.GetClassName(typeof(T)), serviceHub);