28 lines
626 B
C#
28 lines
626 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace PDFGenerator.Verifier
|
|
{
|
|
//public static class Extensions
|
|
// {
|
|
// public static T RemoveAndGet<T>(this IList<T> list)
|
|
// {
|
|
// lock (list)
|
|
// {
|
|
// if (list.Count > 0)
|
|
// {
|
|
// T value = list.Last();
|
|
// list.Remove(value);
|
|
// return value;
|
|
// }
|
|
// else
|
|
// {
|
|
// return default(T);
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
}
|