public ShellPageViewModel(IAccelerometer accelerometer, IWarning warning) { _warning = warning; _accelerometer = accelerometer; _accelerometer.OnChange += OnSensorChange; _accelerometer.Start(); }
public WarningController(IWarning repo, IBelaVistaRepository repositoryContext) { _repo = repo; _repositoryContext = repositoryContext; }
/// <summary> /// Init using a single warning. /// </summary> public Exceptional(IWarning myIWarning) : this() { PushIWarning(myIWarning); }
/// <summary> /// Adds a single warning. /// </summary> public Exceptional PushIWarning(IWarning myIWarning) { lock (this) { _IWarnings.Push(myIWarning); return this; } }
private void AddWarning(IWarning aWarning) { lock (_warnings) { _warnings.Add(aWarning); } }
public GraphDBWarningException(IWarning graphDBWarning, Exception innerException) : base(graphDBWarning.ToString(), innerException) { GraphDBWarning = graphDBWarning; }
public GraphDBWarningException(IWarning graphDBWarning) : base(graphDBWarning.ToString()) { GraphDBWarning = graphDBWarning; }
public EvaluateSample(IWarning Warning) { warning_ = Warning; }