public void DefineDeclaration(IIntermediatePropertyMember declaration) { }
public string Visit <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent>(IIntermediatePropertyMember <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> property, IntermediateNameRequestDetails context) where TProperty : Abstract.Members.IPropertyMember <TProperty, TPropertyParent> where TIntermediateProperty : TProperty, IIntermediatePropertyMember <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> where TPropertyParent : Abstract.IPropertyParent <TProperty, TPropertyParent> where TIntermediatePropertyParent : TPropertyParent, IIntermediatePropertyParent <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> { string name = null; switch (context) { case IntermediateNameRequestDetails.TargetFileName: if (!(property.Parent is IIntermediateType)) { return(null); } this.fileNameLookup.TryGetValue(((IIntermediateType)property.Parent).Assembly, out name); if (this.HtmlContext) { name = string.Format("{0}#prop{1:X8}", name, property.GetHashCode()); } break; case IntermediateNameRequestDetails.SourceFileName: if (!(property.Parent is IIntermediateType)) { return(null); } name = ((IIntermediateType)property.Parent).Assembly.FileName; break; case IntermediateNameRequestDetails.DisplayName: name = property.Name; break; case IntermediateNameRequestDetails.ReferenceName: if (this.HtmlContext) { name = string.Format("prop{0:X8}", property.GetHashCode()); } break; } return(name); }
public void ReferenceDeclaration(IIntermediatePropertyMember declaration) { }
public TestLinkerResult Visit <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent>(IIntermediatePropertyMember <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> property, ICompilationContext context) where TProperty : IPropertyMember <TProperty, TPropertyParent> where TIntermediateProperty : TProperty, IIntermediatePropertyMember <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> where TPropertyParent : IPropertyParent <TProperty, TPropertyParent> where TIntermediatePropertyParent : TPropertyParent, IIntermediatePropertyParent <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> { throw new NotImplementedException(); }
void IIntermediateMemberVisitor.Visit <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent>(IIntermediatePropertyMember <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> intermediateMember) { this.Translate(intermediateMember); }
public void DefineDeclaration(IIntermediatePropertyMember declaration) { this.DefineDeclaration((IIntermediateMember)declaration); }
public abstract void Translate <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent>(IIntermediatePropertyMember <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> intermediateMember) where TProperty : IPropertyMember <TProperty, TPropertyParent> where TIntermediateProperty : TProperty, IIntermediatePropertyMember <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> where TPropertyParent : IPropertyParent <TProperty, TPropertyParent> where TIntermediatePropertyParent : TPropertyParent, IIntermediatePropertyParent <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent>;
public void ReferenceDeclaration(IIntermediatePropertyMember declaration) { this.Formatter.ReferenceDeclaration(declaration); }
public void DefineDeclaration(IIntermediatePropertyMember declaration) { this.Formatter.DefineDeclaration(declaration); }
public TransformationKind Visit <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent>(IIntermediatePropertyMember <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> property, ITransformationContext context) where TProperty : IPropertyMember <TProperty, TPropertyParent> where TIntermediateProperty : TProperty, IIntermediatePropertyMember <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> where TPropertyParent : IPropertyParent <TProperty, TPropertyParent> where TIntermediatePropertyParent : TPropertyParent, IIntermediatePropertyParent <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> { throw new NotImplementedException(); }