public string Visit <TCoercionParent, TIntermediateCoercionParent>(IIntermediateTypeCoercionMember <TCoercionParent, TIntermediateCoercionParent> intermediateMember, IntermediateNameRequestDetails context) where TCoercionParent : Abstract.ICoercibleType <Abstract.Members.ITypeCoercionUniqueIdentifier, Abstract.Members.ITypeCoercionMember <TCoercionParent>, TCoercionParent> where TIntermediateCoercionParent : IIntermediateCoercibleType <Abstract.Members.ITypeCoercionUniqueIdentifier, Abstract.Members.ITypeCoercionMember <TCoercionParent>, IIntermediateTypeCoercionMember <TCoercionParent, TIntermediateCoercionParent>, TCoercionParent, TIntermediateCoercionParent>, TCoercionParent { string name = null; switch (context) { case IntermediateNameRequestDetails.TargetFileName: if (this.HtmlContext) { name = string.Format("#typCoer{0:X8}", intermediateMember.GetHashCode()); } break; case IntermediateNameRequestDetails.DisplayName: name = intermediateMember.Name; break; case IntermediateNameRequestDetails.ReferenceName: if (this.HtmlContext) { name = string.Format("typCoer{0:X8}", intermediateMember.GetHashCode()); } break; } return(name); }
void IIntermediateMemberVisitor.Visit <TCoercionParent, TIntermediateCoercionParent>(IIntermediateTypeCoercionMember <TCoercionParent, TIntermediateCoercionParent> intermediateMember) { this.Translate(intermediateMember); }
public abstract void Translate <TCoercionParent, TIntermediateCoercionParent>(IIntermediateTypeCoercionMember <TCoercionParent, TIntermediateCoercionParent> intermediateMember) where TCoercionParent : ICoercibleType <ITypeCoercionUniqueIdentifier, ITypeCoercionMember <TCoercionParent>, TCoercionParent> where TIntermediateCoercionParent : IIntermediateCoercibleType <ITypeCoercionUniqueIdentifier, ITypeCoercionMember <TCoercionParent>, IIntermediateTypeCoercionMember <TCoercionParent, TIntermediateCoercionParent>, TCoercionParent, TIntermediateCoercionParent>, TCoercionParent;
public ITypeCoercionUniqueIdentifier GetIdentifier(IIntermediateTypeCoercionMember member) { return(TypeSystemIdentifiers.GetTypeOperatorIdentifier(member.Requirement, member.Direction, member.CoercionType, member.UserSpecificQualifier)); }
public ITypeCoercionUniqueIdentifier GetIdentifier(IIntermediateTypeCoercionMember member) { throw new NotSupportedException(); }