ArcGISCompare.FeatureMappingData.AddProblemLoad C# (CSharp) Метод

AddProblemLoad() публичный Метод

public AddProblemLoad ( LoadErrorData theErr ) : void
theErr LoadErrorData
Результат void
    public void AddProblemLoad(LoadErrorData theErr)
    {
      if (this.theErrors == null)
      {
        System.Array.Resize(ref this.theErrors, 1);
        this.theErrors[0] = theErr;
        loadErrors = 1;
      }
      else
      {
        Boolean makeNew = true;
        for (int p = 0; p < this.theErrors.Length; p++)
        {
          if (this.theErrors[p].errMsg == theErr.errMsg.ToString()) { this.theErrors[p].Count += 1; makeNew = false;  }
        }
        if (makeNew)
        {
          System.Array.Resize(ref this.theErrors, this.theErrors.Length + 1);
          this.theErrors[this.theErrors.Length - 1] = theErr;
          loadErrors += 1;
        }
      }
    }