GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlBindingTransformer Class / GeneratePortReferences Method
In This Topic
    GeneratePortReferences Method
    In This Topic
    Write attribute values that are references to named ports on the node obj.
    Syntax
    protected virtual void GeneratePortReferences( 
       object obj
    )

    Parameters

    obj
    Remarks
    This is called by GenerateAttributes when HandlesNamedPorts is true. This method does nothing for obj objects that are not instances of Northwoods.Go.GoGroup. For each Northwoods.Go.GoPort that is an immediate child object of the node, it calls GoXmlTransformer.WriteAttrRef to write an attribute whose name is the group child name for the port and whose value is a reference identifier. These port identifiers are not at all related to an Northwoods.Go.IGoIdentifiablePart.Northwoods.Go.IGoIdentifiablePart.PartID. All attributes defined by AddBinding(String,String) or otherwise generated by GenerateAttributes must not duplicate any port names.
    See Also