Beispiel #1
0
    public override int countIdentifierReferences(string id)
    {
        int count = 0;

        count += actionsListDataControl.countIdentifierReferences(id);
        count += conditionsController.countIdentifierReferences(id);
        //1.4
        count += descriptionsController.countIdentifierReferences(id);
        return(count);
    }
        public override int countIdentifierReferences(string id)
        {
            var count = 0;

            count += descriptionController.countIdentifierReferences(id);
            count += geoActionDataControls.countIdentifierReferences(id);
            count += geometryDataControls.countIdentifierReferences(id);
            count += resourcesDataControlList.Sum(r => r.countIdentifierReferences(id));
            return(count);
        }
    public override int countIdentifierReferences(string id)
    {
        int count = 0;

        // Iterate through the resources
        foreach (ResourcesDataControl resourcesDataControl in resourcesDataControlList)
        {
            resourcesDataControl.countIdentifierReferences(id);
        }

        count += actionsListDataControl.countIdentifierReferences(id);
        //1.4
        count += descriptionController.countIdentifierReferences(id);
        return(count);
    }