示例#1
0
        public Store <T> Get(IEnumerable <T> parameter)
        {
            switch (parameter)
            {
            case T[] array:
                return(_enter.Get(array));

            case ICollection <T> collection:
                return(_collection.Get(collection));

            default:
                return(_enumerate.Get(parameter.GetEnumerator()));
            }
        }
示例#2
0
 public Store <T> Get(_ parameter) => _enter.Get(_origin.Get(parameter));