Пример #1
0
 private void runInspections(InspectionKind kind)
 {
     foreach (var inspection in inspections[kind])
     {
         LogMessage(MessageImportance.Low, SMessage.RunningInspection, inspection.GetType().Name);
         inspection.Inspect();
     }
 }
 /// <summary>
 ///     Allows a custom <see cref="InspectionKind"/>.
 /// </summary>
 public InspectAttribute(InspectionKind inspectionKind)
 {
     InspectionKind = inspectionKind;
 }
 /// <summary>
 ///     Sets the <see cref="InspectionKind"/> to <see cref="InspectionKind.DefaultIR"/>.
 /// </summary>
 public InspectAttribute()
 {
     InspectionKind = InspectionKind.DefaultIR;
 }