示例#1
0
 public void ReferenceDeclaration(IConstructorMember declaration)
 {
     if (declaration is IIntermediateConstructorMember)
     {
         this.ReferenceDeclaration((IIntermediateConstructorMember)declaration);
     }
     else
     {
         this.Formatter.ReferenceDeclaration(declaration);
     }
 }
示例#2
0
 public void ReferenceDeclaration(IConstructorMember declaration)
 {
 }
示例#3
0
        public static IConstructorParameterMember <TCtor, TType> ParamOf <TCtor, TType>(this string name, IConstructorMember <TCtor, TType> ctor)
            where TCtor :
        IConstructorMember <TCtor, TType>
            where TType :
        ICreatableParent <TCtor, TType>
        {
            IConstructorParameterMember <TCtor, TType> result;

            ctor.Parameters.TryGetValue(TypeSystemIdentifiers.GetMemberIdentifier(name), out result);
            return(result);
        }
示例#4
0
 public abstract void TranslateMember(IConstructorMember constructorMember);
示例#5
0
 public ConstructorParameterMembers(IConstructorMember targetDeclaration)
     : base(targetDeclaration)
 {
 }
示例#6
0
 public override void TranslateMember(IConstructorMember constructorMember)
 {
     this.Provider.GenerateCodeFromMember(constructorMember.GenerateCodeDom(this.Options), base.Target, this.Options.Options);
 }
示例#7
0
 public void ReferenceDeclaration(IConstructorMember declaration)
 {
     referenceStack.Push(declaration);
 }
示例#8
0
 public ConstructorParameterMember(TypedName nameAndType, IConstructorMember parentTarget)
     : base(nameAndType, parentTarget)
 {
 }