예제 #1
0
 public DestroyPoolAction(XenAPI.Pool pool)
     : base(pool.Connection, string.Format(Messages.DESTROYING_POOL, pool.Name()))
 {
     System.Diagnostics.Trace.Assert(pool != null);
     Pool             = pool;
     this.Description = Messages.WAITING;
 }
예제 #2
0
 public int CompareTo(PoolMetadata other)
 {
     // Sort by the PoolName
     return(StringUtility.NaturalCompare(Pool.Name(), other.Pool.Name()));
 }