示例#1
0
        public void NotifyAboutCompletion()
        {
            if (IsCompleted)
            {
                return;
            }

            IsCompleted = true;
            StreamCompleted?.Invoke(this, new EventArgs());
        }
示例#2
0
 static StreamCompleted()
 {
     Instance = new StreamCompleted();
 }