Esempio n. 1
0
        public MethodDescripter(string name, ClassDescripter @class, bool isAsync = false)
        {
            Name          = name;
            IsAsync       = isAsync;
            ReturnTypeStr = "void";
            Access        = AccessType.Public;
            _class        = @class;

            RefenceTypes   = new List <Type>();
            Parameters     = new List <ParameterDescripter>();
            Attributes     = new List <AttributeDescripter>();
            TypeParameters = new List <TypeParameterDescripter>();
        }
Esempio n. 2
0
 internal ConstructorDescripter SetClassRefence(ClassDescripter classDescripter)
 {
     _class = classDescripter;
     return(this);
 }