/// <summary> /// Visits the specified alias for type. /// </summary> public virtual void VisitReference(IAliasForType aliasForType) { //IAliasForType is a base interface that should never be implemented directly. //Get aliasForType to call the most type specific visitor. aliasForType.DispatchAsReference(this); }
/// <summary> /// Performs some computation with the alias for type, as a reference. /// </summary> /// <param name="aliasForType"></param> public virtual void VisitReference(IAliasForType aliasForType) { aliasForType.DispatchAsReference(this); }