| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | using System;using Comal.Classes;using InABox.Core;namespace PRSServer{    public class AutoDiscoveryServerProperties : ServerProperties    {        public AutoDiscoveryServerProperties()        {            DisplayName = "PRS";            //ServerURL = "http://127.0.0.1";            //ServerPort = 8000;            ServerURLs = "127.0.0.1:8000";            GoogleAPIKey = "";        }        [TextBoxEditor]        [EditorSequence(1)]        public string DisplayName { get; set; }        [NullEditor]        [Obsolete("Replaced with ServerURLs", true)]        public string ServerURL { get; set; }        [NullEditor]        [Obsolete("Replaced with ServerURLs", true)]        public int ServerPort { get; set; }                [TextBoxEditor]        [EditorSequence(2)]        public String ServerURLs { get; set; }                [FolderEditor(Environment.SpecialFolder.CommonDocuments)]        [EditorSequence(9)]        public string LibraryLocation { get; set; }        [TextBoxEditor]        [EditorSequence(10)]        public string GoogleAPIKey { get; set; }        public override ServerType Type()        {            return ServerType.AutoDiscovery;        }    }}
 |