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"); }
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"); } } }
public bool hasCompType(mtypes methodtype) { return (compType & methodtype) == methodtype; }
public bool hasCompType(mtypes methodtype) { return((compType & methodtype) == methodtype); }