Te.StahpIt.ViewModels.SettingsViewModel.SettingsViewModel C# (CSharp) Method

SettingsViewModel() public method

Constructs a new Settings View Model object.
/// In the event that the supplied SettingsModel is null, will throw ArgumentException. ///
public SettingsViewModel ( SettingsModel model ) : System
model Te.StahpIt.Models.SettingsModel /// The settings model. ///
return System
        public SettingsViewModel(SettingsModel model)
        {
            m_model = model;

            if (m_model == null)
            {
                throw new ArgumentException("Expected valid instance of SettingsModel");
            }
        }
    }
SettingsViewModel