/// <summary> /// Gets the default group pin name</summary> /// <param name="inputSide">True iff pin is on input side</param> /// <returns>Default group pin name</returns> /// <remarks>The group pin default naming convention: "{internal-element-name}:{internal-pin-name}"</remarks> public virtual string DefaultName(bool inputSide) { string pinName = inputSide ? InternalElement.InputPin(InternalPinIndex).Name : InternalElement.OutputPin(InternalPinIndex).Name; return(InternalElement.Name + ":" + pinName); }
/// <summary> /// Gets the default group pin name</summary> /// <param name="inputSide">True iff pin is on input side</param> /// <returns>Default group pin name</returns> /// <remarks>The group pin default naming convention: "{internal-element-name}:{internal-pin-name}"</remarks> public virtual NameString DefaultName(bool inputSide) { string internalName = inputSide ? InternalElement.InputPin(InternalPinName).Name.ToString() : InternalElement.OutputPin(InternalPinName).Name.ToString(); return(new NameString(InternalElement.Id + ":" + internalName)); }