コード例 #1
0
ファイル: Machines.cs プロジェクト: ovan2007/bstweb
 public List <HostState> startStopHost(int id, bool start)
 {
     CurrentContext.Validate();
     HostState.StartStopHost(id, start);
     return(HostState.EnumUsed());
 }
コード例 #2
0
ファイル: Machines.cs プロジェクト: ovan2007/bstweb
 public List <HostState> OnlineHost(int id)
 {
     CurrentContext.Validate();
     HostState.OnlineHost(id);
     return(HostState.EnumUsed());
 }
コード例 #3
0
ファイル: Machines.cs プロジェクト: ovan2007/bstweb
 public List <HostState> getHosts()
 {
     CurrentContext.Validate();
     return(HostState.EnumUsed());
 }