Beispiel #1
0
 internal PSInstanceViewStatus(Microsoft.Azure.Batch.InstanceViewStatus omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
Beispiel #2
0
 public PropertyContainer(Models.VMExtensionInstanceView protocolObject) : base(BindingState.Bound)
 {
     this.NameProperty = this.CreatePropertyAccessor(
         protocolObject.Name,
         nameof(Name),
         BindingAccess.Read);
     this.StatusesProperty = this.CreatePropertyAccessor(
         InstanceViewStatus.ConvertFromProtocolCollectionAndFreeze(protocolObject.Statuses),
         nameof(Statuses),
         BindingAccess.Read);
     this.SubStatusesProperty = this.CreatePropertyAccessor(
         InstanceViewStatus.ConvertFromProtocolCollectionAndFreeze(protocolObject.SubStatuses),
         nameof(SubStatuses),
         BindingAccess.Read);
 }
Beispiel #3
0
 public PSInstanceViewStatus()
 {
     this.omObject = new Microsoft.Azure.Batch.InstanceViewStatus();
 }