public Info(UserLevel userLevel, string summary, mtypes compType)
        {
            this.userLevel = userLevel;
            this.summary = summary;
            this.compType = compType;

            if (userLevel == UserLevel.User || userLevel == UserLevel.Advanced)
                if (summary.Length < 5) throw new NotImplementedException("Please properly Document any fields/properties that are meant to be used by users");
        }
Ejemplo n.º 2
0
        public Info(UserLevel userLevel, string summary, mtypes compType)
        {
            this.userLevel = userLevel;
            this.summary   = summary;
            this.compType  = compType;

            if (userLevel == UserLevel.User || userLevel == UserLevel.Advanced)
            {
                if (summary.Length < 5)
                {
                    throw new NotImplementedException(
                              "Please properly Document any fields/properties that are meant to be used by users");
                }
            }
        }
Ejemplo n.º 3
0
 public bool hasCompType(mtypes methodtype)
 {
     return (compType & methodtype) == methodtype;
 }
Ejemplo n.º 4
0
 public bool hasCompType(mtypes methodtype)
 {
     return((compType & methodtype) == methodtype);
 }