Beispiel #1
0
 public void ReferenceDeclaration(IConstructorMember declaration)
 {
     if (declaration is IIntermediateConstructorMember)
     {
         this.ReferenceDeclaration((IIntermediateConstructorMember)declaration);
     }
     else
     {
         this.Formatter.ReferenceDeclaration(declaration);
     }
 }
Beispiel #2
0
 public void ReferenceDeclaration(IConstructorMember declaration)
 {
 }
Beispiel #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);
        }
Beispiel #4
0
 public abstract void TranslateMember(IConstructorMember constructorMember);
Beispiel #5
0
 public ConstructorParameterMembers(IConstructorMember targetDeclaration)
     : base(targetDeclaration)
 {
 }
Beispiel #6
0
 public override void TranslateMember(IConstructorMember constructorMember)
 {
     this.Provider.GenerateCodeFromMember(constructorMember.GenerateCodeDom(this.Options), base.Target, this.Options.Options);
 }
Beispiel #7
0
 public void ReferenceDeclaration(IConstructorMember declaration)
 {
     referenceStack.Push(declaration);
 }
Beispiel #8
0
 public ConstructorParameterMember(TypedName nameAndType, IConstructorMember parentTarget)
     : base(nameAndType, parentTarget)
 {
 }