Esempio n. 1
0
        private UserField DefineField(UserType type, String name, List <string> modifiers, String _return)
        {
            FieldAttributes attr = 0;

            foreach (String s in modifiers)
            {
                attr |= (FieldAttributes)Enum.Parse(typeof(FieldAttributes), s, true);
            }
            IdEntry ret = this.GetTypeIdEntry(_return);

            return(type.DefineField(name, attr, ret));
        }