protected ActionDataSetting PrivateGetSettings(ActionData data, bool create, bool isDefault) { ActionDataSetting settings; if (!mActionData.TryGetValue(data.Key, out settings)) { if (create) { settings = new ActionDataSetting(data, isDefault); mActionData.Add(data.Key, settings); } else { return(null); } } return(settings); }
protected ActionDataSetting PrivateGetSettings(ActionData data, bool create, bool isDefault) { ActionDataSetting settings; if (!mActionData.TryGetValue(data.Key, out settings)) { if (create) { settings = new ActionDataSetting(data, isDefault); mActionData.Add(data.Key, settings); } else { return null; } } return settings; }