Exemplo n.º 1
0
        public static IRulesProcessor CreateRulesProcessor(ConnectionBase connection)
        {
            if (connection == null)
            {
                throw new ArgumentException("connection can not bu null.");
            }

            return(new GnipRulesProcessor(connection.GetRulesAPIURL(), connection.Username, connection.Password));
        }