Cleans up TextPrompt()

This commit is contained in:
Cyberboss
2017-11-01 13:48:33 -04:00
parent 3503453ae9
commit c3075876ce
3 changed files with 6 additions and 8 deletions
+2 -6
View File
@@ -34,11 +34,7 @@ namespace TGServiceInterface
/// <summary>
/// Base name of communication URLs
/// </summary>
const string MasterInterfaceName = "TGStationServerService";
/// <summary>
/// Base name of the root service URLs
/// </summary>
public const string ServiceInterfaceName = MasterInterfaceName + "/Service";
public const string MasterInterfaceName = "TGStationServerService";
/// <summary>
/// Base name of instance URLs
/// </summary>
@@ -323,7 +319,7 @@ namespace TGServiceInterface
/// <exception cref="Exception">Thrown if <typeparamref name="T"/> isn't a valid component <see langword="interface"/></exception>
ChannelFactory<T> CreateChannel<T>(string instanceName)
{
var accessPath = instanceName == null ? ServiceInterfaceName : String.Format("{0}/{1}", InstanceInterfaceName, instanceName);
var accessPath = instanceName == null ? MasterInterfaceName : String.Format("{0}/{1}", InstanceInterfaceName, instanceName);
var InterfaceName = typeof(T).Name;
if (HTTPSURL == null)