Exemple #1
0
        string GetAuthority(MethodAuthorityType type)
        {
            string authorityValue = "";

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