コード例 #1
0
ファイル: SreEnvironments.cs プロジェクト: eyedia/idpe
 public SreEnvironmentConfig(SreEnvironment environment, int instanceNumber = 0, bool isService = true)
 {
     this.Environment    = environment;
     this.InstanceNumber = instanceNumber;
     this.IsService      = isService;
     RemoteUrl           = "net.tcp://<remoteserver>:<port>/srees";
 }
コード例 #2
0
ファイル: SreEnvironments.cs プロジェクト: eyedia/idpe
 public SreEnvironmentConfig(SreEnvironment environment, string configFileName, int instanceNumber = 0, bool isService = true)
 {
     this.Environment    = environment;
     ConfigFileName      = configFileName;
     this.InstanceNumber = instanceNumber;
     this.IsService      = isService;
     DisplayName         = IsService ? "Service " + instanceNumber : "IDE";
     RemoteUrl           = "net.tcp://<remoteserver>:<port>/srees";
 }
コード例 #3
0
 public int GetNumberOfInstances(EnvironmentServicePacket packet)
 {
     return(SreEnvironment.GetNumberOfInstances());
 }