00001 using System; 00002 using System.Collections.Generic; 00003 using System.Linq; 00004 using System.Text; 00005 00006 namespace NicoLiveTools { 00010 public class ServerInfo { 00011 public string UserId { 00012 get; 00013 set; 00014 } 00015 public string Addr { 00016 get; 00017 set; 00018 } 00019 public int Port { 00020 get; 00021 set; 00022 } 00023 public string Thread { 00024 get; 00025 set; 00026 } 00027 00031 public bool Enabled{ 00032 get { 00033 return (("" != Addr) && (-1 != Port) && ("" != Thread)); 00034 } 00035 } 00036 00040 public ServerInfo() { 00041 Port = -1; 00042 } 00043 } 00044 }
1.6.1