public LoadSettings ( object prefs ) : void | ||
prefs | object | |
Résultat | void |
public void LoadSettings(object[] prefs)
{
if (prefs.Length > 0)
{
// Check if we're receiving an new type settings block (a serialized string)
if (ReferenceEquals(prefs[0].GetType(), typeof (string)))
{
LoadSettingsNewWay(Convert.ToString(prefs[0]));
}
}
}