示例#1
0
 public ZAwsSecGroup(ZAwsEc2Controller controller, Amazon.EC2.Model.SecurityGroup res)
     : base(controller)
 {
     Update(res);
 }
示例#2
0
 protected override bool DoUpdate(object responseData)
 {
     Debug.Assert(responseData.GetType() == typeof(Amazon.EC2.Model.SecurityGroup), "Wrong data passed to the object for update.");
     ResponseData = (Amazon.EC2.Model.SecurityGroup)responseData;
     return true;
 }