public string Visit <TCoercionParent, TIntermediateCoercionParent>(IIntermediateBinaryOperatorCoercionMember <TCoercionParent, TIntermediateCoercionParent> intermediateMember, IntermediateNameRequestDetails context) where TCoercionParent : Abstract.ICoercibleType <Abstract.Members.IBinaryOperatorUniqueIdentifier, Abstract.Members.IBinaryOperatorCoercionMember <TCoercionParent>, TCoercionParent> where TIntermediateCoercionParent : IIntermediateCoercibleType <Abstract.Members.IBinaryOperatorUniqueIdentifier, Abstract.Members.IBinaryOperatorCoercionMember <TCoercionParent>, IIntermediateBinaryOperatorCoercionMember <TCoercionParent, TIntermediateCoercionParent>, TCoercionParent, TIntermediateCoercionParent>, TCoercionParent { string name = null; switch (context) { case IntermediateNameRequestDetails.TargetFileName: if (this.HtmlContext) { name = string.Format("#binOp{0:X8}", intermediateMember.GetHashCode()); } break; case IntermediateNameRequestDetails.DisplayName: name = intermediateMember.Name; break; case IntermediateNameRequestDetails.ReferenceName: if (this.HtmlContext) { name = string.Format("binOp{0:X8}", intermediateMember.GetHashCode()); } break; } return(name); }
void IIntermediateMemberVisitor.Visit <TCoercionParent, TIntermediateCoercionParent>(IIntermediateBinaryOperatorCoercionMember <TCoercionParent, TIntermediateCoercionParent> intermediateMember) { this.Translate(intermediateMember); }
public abstract void Translate <TCoercionParent, TIntermediateCoercionParent>(IIntermediateBinaryOperatorCoercionMember <TCoercionParent, TIntermediateCoercionParent> intermediateMember) where TCoercionParent : ICoercibleType <IBinaryOperatorUniqueIdentifier, IBinaryOperatorCoercionMember <TCoercionParent>, TCoercionParent> where TIntermediateCoercionParent : IIntermediateCoercibleType <IBinaryOperatorUniqueIdentifier, IBinaryOperatorCoercionMember <TCoercionParent>, IIntermediateBinaryOperatorCoercionMember <TCoercionParent, TIntermediateCoercionParent>, TCoercionParent, TIntermediateCoercionParent>, TCoercionParent;
public IBinaryOperatorUniqueIdentifier GetIdentifier(IIntermediateBinaryOperatorCoercionMember member) { return(TypeSystemIdentifiers.GetBinaryOperatorIdentifier(member.Operator, member.UserSpecificQualifier, member.ContainingSide, member.OtherSide)); }
public IBinaryOperatorUniqueIdentifier GetIdentifier(IIntermediateBinaryOperatorCoercionMember member) { throw new NotSupportedException(); }