Apache.Shiro.Authz.SimpleRole.AddAll C# (CSharp) Method

AddAll() public method

public AddAll ( IEnumerable e ) : void
e IEnumerable
return void
        public void AddAll(IEnumerable<IPermission> e)
        {
            if (Permissions == null)
            {
                Permissions = new HashSet<IPermission>(e);
            }
            else
            {
                Permissions.UnionWith(e);
            }
        }