public string Visit <TCoercionParent, TInterCoercionParent>(IIntermediateUnaryOperatorCoercionMember <TCoercionParent, TInterCoercionParent> intermediateMember, IntermediateNameRequestDetails context) where TCoercionParent : Abstract.ICoercibleType <Abstract.Members.IUnaryOperatorUniqueIdentifier, Abstract.Members.IUnaryOperatorCoercionMember <TCoercionParent>, TCoercionParent> where TInterCoercionParent : IIntermediateCoercibleType <Abstract.Members.IUnaryOperatorUniqueIdentifier, Abstract.Members.IUnaryOperatorCoercionMember <TCoercionParent>, IIntermediateUnaryOperatorCoercionMember <TCoercionParent, TInterCoercionParent>, TCoercionParent, TInterCoercionParent>, TCoercionParent { string name = null; switch (context) { case IntermediateNameRequestDetails.TargetFileName: if (this.HtmlContext) { name = string.Format("#unOp{0:X8}", intermediateMember.GetHashCode()); } break; case IntermediateNameRequestDetails.DisplayName: name = intermediateMember.Name; break; case IntermediateNameRequestDetails.ReferenceName: if (this.HtmlContext) { name = string.Format("unOp{0:X8}", intermediateMember.GetHashCode()); } break; } return(name); }
void IIntermediateMemberVisitor.Visit <TCoercionParent, TInterCoercionParent>(IIntermediateUnaryOperatorCoercionMember <TCoercionParent, TInterCoercionParent> intermediateMember) { this.Translate(intermediateMember); }
public abstract void Translate <TCoercionParent, TInterCoercionParent>(IIntermediateUnaryOperatorCoercionMember <TCoercionParent, TInterCoercionParent> intermediateMember) where TCoercionParent : ICoercibleType <IUnaryOperatorUniqueIdentifier, IUnaryOperatorCoercionMember <TCoercionParent>, TCoercionParent> where TInterCoercionParent : IIntermediateCoercibleType <IUnaryOperatorUniqueIdentifier, IUnaryOperatorCoercionMember <TCoercionParent>, IIntermediateUnaryOperatorCoercionMember <TCoercionParent, TInterCoercionParent>, TCoercionParent, TInterCoercionParent>, TCoercionParent;
public IUnaryOperatorUniqueIdentifier GetIdentifier(IIntermediateUnaryOperatorCoercionMember member) { return(TypeSystemIdentifiers.GetUnaryOperatorIdentifier(member.Operator, member.UserSpecificQualifier)); }
public IUnaryOperatorUniqueIdentifier GetIdentifier(IIntermediateUnaryOperatorCoercionMember member) { throw new NotSupportedException(); }