Пример #1
0
        /// <summary>
        /// Returns a <see cref="Seq"/> of the <see cref="IMap"/>'s values.
        /// </summary>
        /// <param name="map">An object that implements the <see cref="IMap"/> interface.</param>
        /// <returns>
        /// Returns a <see cref="Seq"/> of the <see cref="IMap"/>'s values.
        /// </returns>
        public object Invoke(object map)
        {
            if (map is IMap m)
            {
                return(ValueSeq.Create(m));
            }

            return(ValueSeq.Create((ISeq)funclib.Core.Seq(map)));
        }
 public void UpdateIAndCleanByI(int i)
 {
     Console.WriteLine($"[{Thread.CurrentThread.Name}] UpdateIAndCleanByI({i})");
     ValueSeq.Next();
 }
 public int GetByIdAndCleanWithValues(int i)
 {
     Console.WriteLine($"[{Thread.CurrentThread.Name}] GetByIdAndCleanWithValues({i})");
     return(ValueSeq.Next());
 }
 public void ClearAll()
 {
     Console.WriteLine($"[{Thread.CurrentThread.Name}] ClearAll");
     ValueSeq.Next();
 }