aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationObjectReceiver.cs
blob: e0f9fdca62fb746970947da0d5234686131fa961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.PPC.Common.Navigation
{
    /// <summary>
    /// Represents an object which supports receiving an object as part of the navigation to it.
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface INavigationObjectReceiver<T>
    {
        /// <summary>
        /// Called when navigation system is going to navigate to this instance with the specified object.
        /// </summary>
        /// <param name="obj">The object.</param>
        void OnNavigatedToWithObject(T obj);
    }
}
pan class="k">get { return _state; } set { _state = value; RaisePropertyChangedAuto(); } } private String _message; public String Message { get { return _message; } set { _message = value; RaisePropertyChangedAuto(); } } private String _errorReason; public String ErrorReason { get { return _errorReason; } set { _errorReason = value; RaisePropertyChangedAuto(); } } private TimeSpan? _duration; public TimeSpan? Duration { get { return _duration; } set { _duration = value; RaisePropertyChangedAuto(); } } private DateTime _startDateTime; public DateTime StartDateTime { get { return _startDateTime; } set { _startDateTime = value; RaisePropertyChangedAuto(); } } } }