ABB.Swum.MethodContext.MethodContext C# (CSharp) Метод

MethodContext() публичный Метод

Creates a new MethodContext.
public MethodContext ( string idType, bool idTypeIsPrimitive, string declaringClass, IEnumerable formalParameters, bool isStatic, bool isConstructor, bool isDestructor ) : System
idType string The return type of the method.
idTypeIsPrimitive bool Whether the return type is a primitive data type.
declaringClass string The class that this method is a part of, String.Empty if not part of a class.
formalParameters IEnumerable A list of the formal parameters, including both type and name.
isStatic bool Whether this method is static or not.
isConstructor bool Whether this method is a constructor or not.
isDestructor bool Whether this method is a destructor or not.
Результат System
        public MethodContext(string idType, bool idTypeIsPrimitive, string declaringClass, IEnumerable<FormalParameterRecord> formalParameters, bool isStatic, bool isConstructor, bool isDestructor)
            : base(idType, idTypeIsPrimitive, declaringClass)
        {
            if (formalParameters != null)
            {
                this.FormalParameters = new List<FormalParameterRecord>(formalParameters);
            }
            else
            {
                this.FormalParameters = new List<FormalParameterRecord>();
            }
            this.IsStatic = isStatic;
            this.IsConstructor = isConstructor;
            this.IsDestructor = isDestructor;
        }
    }

Same methods

MethodContext::MethodContext ( ) : System
MethodContext::MethodContext ( string idType ) : System
MethodContext::MethodContext ( string idType, bool idTypeIsPrimitive ) : System
MethodContext