System.Configuration.UpdateConfigHost.GetStreamUpdate C# (CSharp) Method

GetStreamUpdate() private method

private GetStreamUpdate ( string oldStreamname, bool alwaysIntercept ) : StreamUpdate
oldStreamname string
alwaysIntercept bool
return StreamUpdate
        private StreamUpdate GetStreamUpdate(string oldStreamname, bool alwaysIntercept) {
            if (_streams == null)
                return null;

            StreamUpdate streamUpdate = (StreamUpdate) _streams[oldStreamname];
            if (streamUpdate != null && !alwaysIntercept && !streamUpdate.WriteCompleted) {
                streamUpdate = null;
            }

            return streamUpdate;
        }