string GetAuthority(MethodAuthorityType type) { string authorityValue = ""; if (type == MethodAuthorityType.Default) { authorityValue = ClassGenerator.authorityTypes[(int)type]; } else { authorityValue = ClassGenerator.authorityTypes[(int)type] + " "; } return(authorityValue); }
public void SetAuthority(MethodAuthorityType type) { this.m_authorityType = type; }