aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.Basic/Resources/template.csx
blob: 307e1e4838363220554109e4e6c0e86bd385badf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.Threading;
using System.Threading.Tasks;
using Tango.Scripting.Basic;

public class MainScript
{
    public object OnExecute(IContext context)
    {
        return new
        {
            Item1 = "1",
            Item2 = "2"
        };
    }
}
*/ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.MachineStudio.Synchronization.Views;

namespace Tango.MachineStudio.Synchronization.Navigation
{
    /// <summary>
    /// Represents the synchronization module views navigation manager.
    /// </summary>
    public class SyncNavigationManager
    {
        /// <summary>
        /// Navigate to the specified view.
        /// </summary>
        /// <param name="view">The view.</param>
        public void NavigateTo(NavigationView view)
        {
            MainView.Instance.TransitionControl.AutoNavigate(view.ToString());
        }
    }
}