internal PSInstanceViewStatus(Microsoft.Azure.Batch.InstanceViewStatus omObject) { if ((omObject == null)) { throw new System.ArgumentNullException("omObject"); } this.omObject = omObject; }
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); }
public PSInstanceViewStatus() { this.omObject = new Microsoft.Azure.Batch.InstanceViewStatus(); }