Beispiel #1
0
 public void DefineDeclaration(IIntermediatePropertyMember declaration)
 {
 }
Beispiel #2
0
            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);
            }
Beispiel #3
0
 public void ReferenceDeclaration(IIntermediatePropertyMember declaration)
 {
 }
Beispiel #4
0
 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();
 }
Beispiel #5
0
 void IIntermediateMemberVisitor.Visit <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent>(IIntermediatePropertyMember <TProperty, TIntermediateProperty, TPropertyParent, TIntermediatePropertyParent> intermediateMember)
 {
     this.Translate(intermediateMember);
 }
Beispiel #6
0
 public void DefineDeclaration(IIntermediatePropertyMember declaration)
 {
     this.DefineDeclaration((IIntermediateMember)declaration);
 }
Beispiel #7
0
 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>;
Beispiel #8
0
 public void ReferenceDeclaration(IIntermediatePropertyMember declaration)
 {
     this.Formatter.ReferenceDeclaration(declaration);
 }
Beispiel #9
0
 public void DefineDeclaration(IIntermediatePropertyMember declaration)
 {
     this.Formatter.DefineDeclaration(declaration);
 }
Beispiel #10
0
 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();
 }