This document describes the PX1005 diagnostic.
| Code | Short Description | Type | Code Fix |
|---|---|---|---|
| PX1005 | There is probably a typo in the view delegate name. | Warning (Level 3: Informational) | Available |
The data view delegate must have the same name as the corresponding data view but with the first letter in a different case (uppercase or lowercase).
The code fix changes the name of the data view delegate so that it matches the data view name.
public class LEPMaint : PXGraph<LEPMaint>
{
public PXSelect<ListEntryPoint> Items;
public IEnumerable itemss() // The PX1005 warning is displayed for this line.
{
yield break;
}
}public class LEPMaint : PXGraph<LEPMaint>
{
public PXSelect<ListEntryPoint> Items;
public IEnumerable items()
{
yield break;
}
}