/// <summary> Add a new role to this name entity </summary> /// <param name="Role">Text of the role</param> /// <param name="Role_Type">Type of role</param> public void Add_Role(string Role, Name_Info_Role_Type_Enum Role_Type) { nameInfo.Roles.Add(new Name_Info_Role(Role, Role_Type)); }
/// <summary> Constructor for a new instance of the Name_Info_Role class </summary> /// <param name="Role">Text of the role</param> /// <param name="Role_Type">Type of role</param> public Name_Info_Role(string Role, Name_Info_Role_Type_Enum Role_Type) { role = Role; roleType = Role_Type; }
/// <summary> Add a new role to this name entity </summary> /// <param name="Role">Text of the role</param> /// <param name="Authority">Authority for this role term</param> /// <param name="Role_Type">Type of role</param> public void Add_Role(string Role, string Authority, Name_Info_Role_Type_Enum Role_Type) { Roles.Add(new Name_Info_Role(Role, Authority, Role_Type)); }
/// <summary> Constructor for a new instance of the Name_Info_Role class </summary> /// <param name="Role">Text of the role</param> /// <param name="Authority">Authority for this role term</param> public Name_Info_Role(string Role, string Authority) { role = Role; authority = Authority; roleType = Name_Info_Role_Type_Enum.UNSPECIFIED; }
/// <summary> Constructor for a new instance of the Name_Info_Role class </summary> /// <param name="Role">Text of the role</param> /// <param name="Authority">Authority for this role term</param> /// <param name="Role_Type">Type of role</param> public Name_Info_Role(string Role, string Authority, Name_Info_Role_Type_Enum Role_Type) { roleType = Role_Type; authority = Authority; role = Role; }
/// <summary> Add a new role to this name entity </summary> /// <param name="Role">Text of the role</param> /// <param name="NewAuthority">Authority for this role term</param> /// <param name="Role_Type">Type of role</param> public void Add_Role(string Role, string NewAuthority, Name_Info_Role_Type_Enum Role_Type) { nameInfo.Roles.Add(new Name_Info_Role(Role, NewAuthority, Role_Type)); }