Class Repair
A repair.
[DataContract(IsReference = true)]
[KnownType(typeof(Repair))]
public class Repair : INotifyPropertyChanged
- Inheritance
-
Repair
- Implements
- Inherited Members
Properties
FullName
Gets the full name of the repair, as the individual parts separated by underscores.
public string FullName { get; }
Property Value
Remarks
This property value is derived from the Name of this repair and each parent repair up through the hierarchy.
PropertyChanged notifications are not completely reliable for this property; they only fire when this repair's Name or ParentRepair property changes.
IsDeserializing
Gets or sets whether this object is currently being deserialized.
protected bool IsDeserializing { get; }
Property Value
Name
Gets or sets the repair name.
[DataMember]
public string Name { get; set; }
Property Value
ParentRepair
Gets or sets the parent repair.
[DataMember]
public Repair ParentRepair { get; set; }
Property Value
ParentRepairHasBeenIncluded
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 ParentRepairHasBeenIncluded { get; set; }
Property Value
RepairId
Gets or sets the unique identifier for this repair.
[DataMember]
public int RepairId { get; set; }
Property Value
Methods
IsDescendedFrom(Repair)
Determines whether this repair is a descendant of another.
public bool IsDescendedFrom(Repair other)
Parameters
other
RepairA repair.
Returns
Exceptions
- ArgumentNullException
other
is null.
OnPropertyChanged(string)
Processes property changes by raising the PropertyChanged event.
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
stringThe name of the property that changed.
ToString()
Returns the FullName value as a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged