public static PropertyObject Load(string fileLocation) { FileReader fr = new FileReader("Content\\" + fileLocation); fr.readLine(); PropertyObject toGlobal = new PropertyObject(); toGlobal.Load(fr); fr.Finish(); return(toGlobal); }
public static void Load(string fileLocation, string nameInGlobal) { FileReader fr = new FileReader("Content\\" + fileLocation); fr.readLine(); PropertyObject toGlobal = new PropertyObject(); toGlobal.Load(fr); Global.Add(new PropertyDefinition(nameInGlobal, toGlobal)); fr.Finish(); }
public static void Load(string fileLocation, string nameInGlobal) { PropertyObject.Load(fileLocation, nameInGlobal); }
public static PropertyObject Load(string fileLocation) { return(PropertyObject.Load(fileLocation)); }