예제 #1
0
 public SynchronizedWrapper(TimeSpanBuffer <T> timeSpanBuffer)
 {
     m_TimeSpanBuffer = timeSpanBuffer;
 }
예제 #2
0
        public static ITimeSpanBuffer <T> Synchronized(TimeSpan maximalAge, int initialBufferCapacity)
        {
            TimeSpanBuffer <T> timeSpanBuffer = new TimeSpanBuffer <T>(maximalAge, initialBufferCapacity);

            return(new SynchronizedWrapper(timeSpanBuffer));
        }