// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.ComponentModel; using Tango.Scripting.Editors.Document; using Tango.Scripting.Editors.Editing; using Tango.Scripting.Editors.Rendering; namespace Tango.Scripting.Editors { /// /// Represents a text editor control (, /// or ). /// public interface ITextEditorComponent : IServiceProvider { /// /// Gets the document being edited. /// TextDocument Document { get; } /// /// Occurs when the Document property changes (when the text editor is connected to another /// document - not when the document content changes). /// event EventHandler DocumentChanged; /// /// Gets the options of the text editor. /// TextEditorOptions Options { get; } /// /// Occurs when the Options property changes, or when an option inside the current option list /// changes. /// event PropertyChangedEventHandler OptionChanged; } }
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Settings;
using Tango.Web;
using Tango.Web.Security;

namespace Tango.MachineStudio.Common.Web
{
    public class MachineStudioWebClient : MachineStudioWebClientBase
    {
        public MachineStudioWebClient(DeploymentSlot environment) : base(environment)
        {
        }

        public MachineStudioWebClient(DeploymentSlot environment, String token) : base(environment, token)
        {

        }

        public MachineStudioWebClient(String token) : this(SettingsManager.Default.GetOrCreate<MachineStudioSettings>().DeploymentSlot, token)
        {

        }

        public MachineStudioWebClient(string address, string token) : base(address, token)
        {

        }

        public MachineStudioWebClient() : this(null)
        {

        }
    }
}