public static Entity2D FromObject(object obj) { if (EntityProvider == null) { return(null); } return(EntityProvider.FromObjet(obj)); }