Lucene.Net.Analysis.Analyzer.ReuseStrategy.GetStoredValue C# (CSharp) Method

GetStoredValue() protected method

Returns the currently stored value.
if the Analyzer is closed.
protected GetStoredValue ( Analyzer analyzer ) : object
analyzer Analyzer
return object
            protected internal object GetStoredValue(Analyzer analyzer)
            {
                if (analyzer.StoredValue == null)
                {
                    throw new AlreadyClosedException("this Analyzer is closed");
                }
                return analyzer.StoredValue.Get();
            }