Beispiel #1
0
        public Utility(
            ICompactComponent compact,
            IFunctionComponent function,
            IMathComponent math,
            IObjectComponent obj,
            IStringComponent str)
        {
            if (compact == null)
            {
                throw new ArgumentNullException("compact");
            }

            if (function == null)
            {
                throw new ArgumentNullException("function");
            }

            if (math == null)
            {
                throw new ArgumentNullException("math");
            }

            if (obj == null)
            {
                throw new ArgumentNullException("obj");
            }

            if (str == null)
            {
                throw new ArgumentNullException("str");
            }

            _compact  = compact;
            _math     = math;
            _function = function;
            _object   = obj;
            _string   = str;
        }
Beispiel #2
0
 public CacheComponent(ICompactComponent fnCompactor, Utility.ICompactComponent paramCompactor)
 {
     _fnCompactor    = fnCompactor;
     _paramCompactor = paramCompactor;
 }