Class UnitDefect
A unit defect.
[DataContract(IsReference = true)]
[KnownType(typeof(Defect))]
[KnownType(typeof(UnitDefectRepair))]
[KnownType(typeof(UnitStation))]
public class UnitDefect : INotifyPropertyChanged
  - Inheritance
 - 
      
      UnitDefect
 
- Implements
 
- Inherited Members
 
Properties
Defect
Gets or sets the defect.
[DataMember]
public Defect Defect { get; set; }
  Property Value
DefectDateTime
Gets or sets the date/time when the defect was added, in UTC.
[DataMember]
public DateTime DefectDateTime { get; set; }
  Property Value
DefectHasBeenIncluded
Gets or sets whether a navigation property has been included yet while getting an entity graph for a data model (to prevent doing so more than once).
public bool DefectHasBeenIncluded { get; set; }
  Property Value
IsDeserializing
Gets or sets whether this object is currently being deserialized.
protected bool IsDeserializing { get; }
  Property Value
Notes
Gets or sets additional notes about the defect.
[DataMember]
public string Notes { get; set; }
  Property Value
UnitDefectId
Gets or sets the unique identifier for this unit defect.
[DataMember]
public int UnitDefectId { get; set; }
  Property Value
UnitDefectRepairs
Gets or sets the list of repairs for this defect.
[DataMember]
public TrackableCollection<UnitDefectRepair> UnitDefectRepairs { get; set; }
  Property Value
UnitStation
Gets or sets the unit station at which this occurred.
[DataMember]
public UnitStation UnitStation { get; set; }
  Property Value
UnitStationHasBeenIncluded
Gets or sets whether a navigation property has been included yet while getting an entity graph for a data model (to prevent doing so more than once).
public bool UnitStationHasBeenIncluded { get; set; }
  Property Value
Methods
OnPropertyChanged(string)
Processes property changes by raising the PropertyChanged event.
protected virtual void OnPropertyChanged(string propertyName)
  Parameters
propertyNamestringThe name of the property that changed.
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged