Exemplo n.º 1
0
        public Item(ItemKey key, FilterKey filterKey)
        {
            if (object.Equals(key, null))
            {
                throw Error.ArgumentNull(string.Format("{0} can't be null.", nameof(key)));
            }

            if (object.Equals(filterKey, null))
            {
                throw Error.ArgumentNull(string.Format("{0} can't be null.", nameof(filterKey)));
            }

            Key       = key;
            FilterKey = filterKey;
        }
Exemplo n.º 2
0
        public static string GetPath(ItemKey key)
        {
            var result = GetPath(key.Value);

            return(result);
        }