blob: 957da3db1873c79c8859e3bbf26956d4e748082a [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class CollectionValueBase&lt;T&gt;
| Apache Lucene.NET 4.8.0 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class CollectionValueBase&lt;T&gt;
| Apache Lucene.NET 4.8.0 Documentation ">
<meta name="generator" content="docfx 2.47.0.0">
<link rel="shortcut icon" href="../../logo/favicon.ico">
<link rel="stylesheet" href="../../styles/docfx.vendor.css">
<link rel="stylesheet" href="../../styles/docfx.css">
<link rel="stylesheet" href="../../styles/main.css">
<meta property="docfx:navrel" content="../../toc.html">
<meta property="docfx:tocrel" content="../toc.html">
<meta property="docfx:rel" content="../../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../../index.html">
<img id="logo" class="svg" src="../../logo/lucene-net-color.png" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list"></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1">
<h1 id="Lucene_Net_Support_C5_CollectionValueBase_1" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1" class="text-break">Class CollectionValueBase&lt;T&gt;
</h1>
<div class="markdown level0 summary"><p>Base class for classes implementing ICollectionValue[T]</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html">EnumerableBase</a>&lt;T&gt;</div>
<div class="level2"><span class="xref">CollectionValueBase&lt;T&gt;</span></div>
<div class="level3"><a class="xref" href="Lucene.Net.Support.C5.CollectionBase-1.html">CollectionBase&lt;T&gt;</a></div>
<div class="level3"><a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html">DictionaryBase&lt;K, V&gt;</a></div>
<div class="level3"><a class="xref" href="Lucene.Net.Support.C5.DirectedCollectionValueBase-1.html">DirectedCollectionValueBase&lt;T&gt;</a></div>
</div>
<div classs="implements">
<h5>Implements</h5>
<div><a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html">ICollectionValue</a>&lt;T&gt;</div>
<div><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</div>
<div><span class="xref">System.Collections.IEnumerable</span></div>
<div><a class="xref" href="Lucene.Net.Support.C5.IShowable.html">IShowable</a></div>
<div><span class="xref">System.IFormattable</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html#Lucene_Net_Support_C5_EnumerableBase_1_GetEnumerator">EnumerableBase&lt;T&gt;.GetEnumerator()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html#Lucene_Net_Support_C5_EnumerableBase_1_countItems_System_Collections_Generic_IEnumerable__0__">EnumerableBase&lt;T&gt;.countItems(IEnumerable&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html#Lucene_Net_Support_C5_EnumerableBase_1_System_Collections_IEnumerable_GetEnumerator">EnumerableBase&lt;T&gt;.IEnumerable.GetEnumerator()</a>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object)</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.GetHashCode()</span>
</div>
<div>
<span class="xref">System.Object.GetType()</span>
</div>
<div>
<span class="xref">System.Object.MemberwiseClone()</span>
</div>
<div>
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="Lucene.Net.Support.C5.html">Lucene.Net.Support.C5</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.dll</h6>
<h5 id="Lucene_Net_Support_C5_CollectionValueBase_1_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[Serializable]
public abstract class CollectionValueBase&lt;T&gt; : EnumerableBase&lt;T&gt;, ICollectionValue&lt;T&gt;, IEnumerable&lt;T&gt;, IEnumerable, IShowable, IFormattable</code></pre>
</div>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">T</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="properties">Properties
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_ActiveEvents.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.ActiveEvents%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L56">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_ActiveEvents_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ActiveEvents*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_ActiveEvents" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ActiveEvents">ActiveEvents</h4>
<div class="markdown level1 summary"><p>A flag bitmap of the events currently subscribed to by this collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual EventTypeEnum ActiveEvents { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.EventTypeEnum.html">EventTypeEnum</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_Count.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.Count%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L415">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_Count_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Count*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_Count" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Count">Count</h4>
<div class="markdown level1 summary"><p>The number of items in this collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public abstract int Count { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_CountSpeed.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.CountSpeed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L424">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_CountSpeed_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.CountSpeed*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_CountSpeed" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.CountSpeed">CountSpeed</h4>
<div class="markdown level1 summary"><p>The value is symbolic indicating the type of asymptotic complexity
in terms of the size of this collection (worst-case or amortized as
relevant).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public abstract Speed CountSpeed { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.Speed.html">Speed</a></td>
<td><p>A characterization of the speed of the </p>
<pre><code>Count</code></pre> property in this collection.</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_IsEmpty.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.IsEmpty%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L409">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_IsEmpty_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.IsEmpty*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_IsEmpty" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.IsEmpty">IsEmpty</h4>
<div class="markdown level1 summary"><p>Check if collection is empty.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public abstract bool IsEmpty { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>True if empty</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_ListenableEvents.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.ListenableEvents%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L50">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_ListenableEvents_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ListenableEvents*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_ListenableEvents" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ListenableEvents">ListenableEvents</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual EventTypeEnum ListenableEvents { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.EventTypeEnum.html">EventTypeEnum</a></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_All_System_Func__0_System_Boolean__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.All(System.Func%7B%600%2CSystem.Boolean%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L513">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_All_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.All*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_All_System_Func__0_System_Boolean__" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.All(System.Func{`0,System.Boolean})">All(Func&lt;T, Boolean&gt;)</h4>
<div class="markdown level1 summary"><p>Check if all items in this collection satisfies a specific predicate.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual bool All(Func&lt;T, bool&gt; predicate)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Boolean</span>&gt;</td>
<td><span class="parametername">predicate</span></td>
<td><p>A delegate
(<span class="xref">Func`2</span> with <pre><code>R = bool</code></pre>)
defining the predicate</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>True if all items satisfies the predicate</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_Apply_System_Action__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.Apply(System.Action%7B%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L462">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_Apply_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Apply*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_Apply_System_Action__0__" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Apply(System.Action{`0})">Apply(Action&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Apply an single argument action, <span class="xref">Action`1</span> to this enumerable</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void Apply(Action&lt;T&gt; action)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Action</span>&lt;T&gt;</td>
<td><span class="parametername">action</span></td>
<td><p>The action delegate</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_Choose.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.Choose%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L544">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_Choose_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Choose*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_Choose" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Choose">Choose()</h4>
<div class="markdown level1 summary"><p>Choose some item of this collection. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public abstract T Choose()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a></td>
<td><p>if collection is empty.</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_CopyTo__0___System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.CopyTo(%600%5B%5D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L435">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_CopyTo_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.CopyTo*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_CopyTo__0___System_Int32_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.CopyTo(`0[],System.Int32)">CopyTo(T[], Int32)</h4>
<div class="markdown level1 summary"><p>Copy the items of this collection to part of an array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void CopyTo(T[] array, int index)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>T[]</td>
<td><span class="parametername">array</span></td>
<td><p>The array to copy to.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td><p>The starting index.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.ArgumentOutOfRangeException</span></td>
<td><p>if <pre><code>index</code></pre>
is not a valid index
into the array (i.e. negative or greater than the size of the array)
or the array does not have room for the items.</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_Exists_System_Func__0_System_Boolean__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.Exists(System.Func%7B%600%2CSystem.Boolean%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L477">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_Exists_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Exists*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_Exists_System_Func__0_System_Boolean__" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Exists(System.Func{`0,System.Boolean})">Exists(Func&lt;T, Boolean&gt;)</h4>
<div class="markdown level1 summary"><p>Check if there exists an item that satisfies a
specific predicate in this collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual bool Exists(Func&lt;T, bool&gt; predicate)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Boolean</span>&gt;</td>
<td><span class="parametername">predicate</span></td>
<td><p>A delegate
(<span class="xref">Func`2</span> with <pre><code>R = bool</code></pre>)
defining the predicate</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>True if such an item exists</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_Filter_System_Func__0_System_Boolean__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.Filter(System.Func%7B%600%2CSystem.Boolean%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L530">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_Filter_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Filter*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_Filter_System_Func__0_System_Boolean__" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Filter(System.Func{`0,System.Boolean})">Filter(Func&lt;T, Boolean&gt;)</h4>
<div class="markdown level1 summary"><p>Create an enumerable, enumerating the items of this collection that satisfies
a certain condition.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual IEnumerable&lt;T&gt; Filter(Func&lt;T, bool&gt; predicate)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Boolean</span>&gt;</td>
<td><span class="parametername">predicate</span></td>
<td><p>A delegate
(<span class="xref">Func`2</span> with <pre><code>R = bool</code></pre>)
defining the predicate</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
<td><p>The filtered enumerable</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_Find_System_Func__0_System_Boolean___0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.Find(System.Func%7B%600%2CSystem.Boolean%7D%2C%600%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L494">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_Find_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Find*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_Find_System_Func__0_System_Boolean___0__" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Find(System.Func{`0,System.Boolean},`0@)">Find(Func&lt;T, Boolean&gt;, out T)</h4>
<div class="markdown level1 summary"><p>Check if there exists an item that satisfies a
specific predicate in this collection and return the first one in enumeration order.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual bool Find(Func&lt;T, bool&gt; predicate, out T item)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Func</span>&lt;T, <span class="xref">System.Boolean</span>&gt;</td>
<td><span class="parametername">predicate</span></td>
<td><p>A delegate
(<span class="xref">Func`2</span> with <pre><code>R == bool</code></pre>) defining the predicate</p>
</td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>True is such an item exists</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionChanged.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseCollectionChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L83">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionChanged_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseCollectionChanged*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionChanged" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseCollectionChanged">raiseCollectionChanged()</h4>
<div class="markdown level1 summary"><p>Fire the CollectionChanged event</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseCollectionChanged()</code></pre>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionCleared_System_Boolean_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseCollectionCleared(System.Boolean%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L105">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionCleared_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseCollectionCleared*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionCleared_System_Boolean_System_Int32_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseCollectionCleared(System.Boolean,System.Int32)">raiseCollectionCleared(Boolean, Int32)</h4>
<div class="markdown level1 summary"><p>Fire the CollectionCleared event</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseCollectionCleared(bool full, int count)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">full</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">count</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionCleared_System_Boolean_System_Int32_System_Nullable_System_Int32__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseCollectionCleared(System.Boolean%2CSystem.Int32%2CSystem.Nullable%7BSystem.Int32%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L111">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionCleared_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseCollectionCleared*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionCleared_System_Boolean_System_Int32_System_Nullable_System_Int32__" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseCollectionCleared(System.Boolean,System.Int32,System.Nullable{System.Int32})">raiseCollectionCleared(Boolean, Int32, Nullable&lt;Int32&gt;)</h4>
<div class="markdown level1 summary"><p>Fire the CollectionCleared event</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseCollectionCleared(bool full, int count, int? offset)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">full</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">count</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int32</span>&gt;</td>
<td><span class="parametername">offset</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseForAdd__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseForAdd(%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L321">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForAdd_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForAdd*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForAdd__0_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForAdd(`0)">raiseForAdd(T)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseForAdd(T item)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseForInsert_System_Int32__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseForInsert(System.Int32%2C%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L233">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForInsert_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForInsert*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForInsert_System_Int32__0_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForInsert(System.Int32,`0)">raiseForInsert(Int32, T)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseForInsert(int i, T item)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">i</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemove__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseForRemove(%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L247">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemove_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForRemove*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemove__0_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForRemove(`0)">raiseForRemove(T)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected void raiseForRemove(T item)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemove__0_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseForRemove(%600%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L261">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemove_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForRemove*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemove__0_System_Int32_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForRemove(`0,System.Int32)">raiseForRemove(T, Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected void raiseForRemove(T item, int count)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">count</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemoveAll_Lucene_Net_Support_C5_ICollectionValue__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseForRemoveAll(Lucene.Net.Support.C5.ICollectionValue%7B%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L333">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemoveAll_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForRemoveAll*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemoveAll_Lucene_Net_Support_C5_ICollectionValue__0__" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForRemoveAll(Lucene.Net.Support.C5.ICollectionValue{`0})">raiseForRemoveAll(ICollectionValue&lt;T&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseForRemoveAll(ICollectionValue&lt;T&gt; wasRemoved)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html">ICollectionValue</a>&lt;T&gt;</td>
<td><span class="parametername">wasRemoved</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemoveAt_System_Int32__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseForRemoveAt(System.Int32%2C%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L275">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemoveAt_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForRemoveAt*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemoveAt_System_Int32__0_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForRemoveAt(System.Int32,`0)">raiseForRemoveAt(Int32, T)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected void raiseForRemoveAt(int index, T item)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseForSetThis_System_Int32__0__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseForSetThis(System.Int32%2C%600%2C%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L217">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForSetThis_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForSetThis*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForSetThis_System_Int32__0__0_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForSetThis(System.Int32,`0,`0)">raiseForSetThis(Int32, T, T)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseForSetThis(int index, T value, T item)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseForUpdate__0__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseForUpdate(%600%2C%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L293">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForUpdate_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForUpdate*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForUpdate__0__0_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForUpdate(`0,`0)">raiseForUpdate(T, T)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseForUpdate(T newitem, T olditem)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">newitem</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">olditem</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseForUpdate__0__0_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseForUpdate(%600%2C%600%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L308">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForUpdate_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForUpdate*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseForUpdate__0__0_System_Int32_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseForUpdate(`0,`0,System.Int32)">raiseForUpdate(T, T, Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseForUpdate(T newitem, T olditem, int count)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">newitem</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">olditem</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">count</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemInserted__0_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseItemInserted(%600%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L183">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemInserted_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseItemInserted*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemInserted__0_System_Int32_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseItemInserted(`0,System.Int32)">raiseItemInserted(T, Int32)</h4>
<div class="markdown level1 summary"><p>Fire the ItemInserted event</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseItemInserted(T item, int index)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td><p>The item that was added</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemRemovedAt__0_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseItemRemovedAt(%600%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L207">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemRemovedAt_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseItemRemovedAt*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemRemovedAt__0_System_Int32_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseItemRemovedAt(`0,System.Int32)">raiseItemRemovedAt(T, Int32)</h4>
<div class="markdown level1 summary"><p>Fire the ItemRemovedAt event</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseItemRemovedAt(T item, int index)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td><p>The item that was removed</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemsAdded__0_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseItemsAdded(%600%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L135">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemsAdded_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseItemsAdded*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemsAdded__0_System_Int32_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseItemsAdded(`0,System.Int32)">raiseItemsAdded(T, Int32)</h4>
<div class="markdown level1 summary"><p>Fire the ItemsAdded event</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseItemsAdded(T item, int count)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td><p>The item that was added</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">count</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemsRemoved__0_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.raiseItemsRemoved(%600%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L159">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemsRemoved_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseItemsRemoved*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemsRemoved__0_System_Int32_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.raiseItemsRemoved(`0,System.Int32)">raiseItemsRemoved(T, Int32)</h4>
<div class="markdown level1 summary"><p>Fire the ItemsRemoved event</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void raiseItemsRemoved(T item, int count)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td><p>The item that was removed</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">count</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_Show_System_Text_StringBuilder_System_Int32__System_IFormatProvider_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.Show(System.Text.StringBuilder%2CSystem.Int32%40%2CSystem.IFormatProvider)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L556">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_Show_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Show*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_Show_System_Text_StringBuilder_System_Int32__System_IFormatProvider_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.Show(System.Text.StringBuilder,System.Int32@,System.IFormatProvider)">Show(StringBuilder, ref Int32, IFormatProvider)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual bool Show(StringBuilder stringbuilder, ref int rest, IFormatProvider formatProvider)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Text.StringBuilder</span></td>
<td><span class="parametername">stringbuilder</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">rest</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.IFormatProvider</span></td>
<td><span class="parametername">formatProvider</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_ToArray.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.ToArray%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L448">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_ToArray_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ToArray*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_ToArray" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ToArray">ToArray()</h4>
<div class="markdown level1 summary"><p>Create an array with the items of this collection (in the same order as an
enumerator would output them).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual T[] ToArray()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>T[]</td>
<td><p>The array</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_ToString.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.ToString%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L581">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_ToString_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ToString*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_ToString" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ToString">ToString()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><span class="xref">System.Object.ToString()</span></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_ToString_System_String_System_IFormatProvider_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.ToString(System.String%2CSystem.IFormatProvider)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L570">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_CollectionValueBase_1_ToString_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ToString*"></a>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_ToString_System_String_System_IFormatProvider_" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ToString(System.String,System.IFormatProvider)">ToString(String, IFormatProvider)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual string ToString(string format, IFormatProvider formatProvider)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">format</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.IFormatProvider</span></td>
<td><span class="parametername">formatProvider</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="events">Events
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_CollectionChanged.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.CollectionChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L67">View Source</a>
</span>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_CollectionChanged" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.CollectionChanged">CollectionChanged</h4>
<div class="markdown level1 summary"><p>The change event. Will be raised for every change operation on the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual event CollectionChangedHandler&lt;T&gt; CollectionChanged</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.CollectionChangedHandler-1.html">CollectionChangedHandler</a>&lt;T&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_CollectionCleared.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.CollectionCleared%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L89">View Source</a>
</span>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_CollectionCleared" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.CollectionCleared">CollectionCleared</h4>
<div class="markdown level1 summary"><p>The clear event. Will be raised for every Clear operation on the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual event CollectionClearedHandler&lt;T&gt; CollectionCleared</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.CollectionClearedHandler-1.html">CollectionClearedHandler</a>&lt;T&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_ItemInserted.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.ItemInserted%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L165">View Source</a>
</span>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_ItemInserted" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ItemInserted">ItemInserted</h4>
<div class="markdown level1 summary"><p>The item added event. Will be raised for every individual addition to the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual event ItemInsertedHandler&lt;T&gt; ItemInserted</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.ItemInsertedHandler-1.html">ItemInsertedHandler</a>&lt;T&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_ItemRemovedAt.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.ItemRemovedAt%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L189">View Source</a>
</span>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_ItemRemovedAt" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ItemRemovedAt">ItemRemovedAt</h4>
<div class="markdown level1 summary"><p>The item removed event. Will be raised for every individual removal from the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual event ItemRemovedAtHandler&lt;T&gt; ItemRemovedAt</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.ItemRemovedAtHandler-1.html">ItemRemovedAtHandler</a>&lt;T&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_ItemsAdded.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.ItemsAdded%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L117">View Source</a>
</span>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_ItemsAdded" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ItemsAdded">ItemsAdded</h4>
<div class="markdown level1 summary"><p>The item added event. Will be raised for every individual addition to the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual event ItemsAddedHandler&lt;T&gt; ItemsAdded</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.ItemsAddedHandler-1.html">ItemsAddedHandler</a>&lt;T&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1_ItemsRemoved.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601.ItemsRemoved%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L141">View Source</a>
</span>
<h4 id="Lucene_Net_Support_C5_CollectionValueBase_1_ItemsRemoved" data-uid="Lucene.Net.Support.C5.CollectionValueBase`1.ItemsRemoved">ItemsRemoved</h4>
<div class="markdown level1 summary"><p>The item removed event. Will be raised for every individual removal from the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual event ItemsRemovedHandler&lt;T&gt; ItemsRemoved</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.ItemsRemovedHandler-1.html">ItemsRemovedHandler</a>&lt;T&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="implements">Implements</h3>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html">ICollectionValue&lt;T&gt;</a>
</div>
<div>
<span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
</div>
<div>
<span class="xref">System.Collections.IEnumerable</span>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IShowable.html">IShowable</a>
</div>
<div>
<span class="xref">System.IFormattable</span>
</div>
<h3 id="extensionmethods">Extension Methods</h3>
<div>
<a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_InPairs__2_System_Collections_Generic_IEnumerable___0__System_Func___0___0___1__">EnumerableExtensions.InPairs&lt;T, TOut&gt;(IEnumerable&lt;T&gt;, Func&lt;T, T, TOut&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_TakeAllButLast__1_System_Collections_Generic_IEnumerable___0__">EnumerableExtensions.TakeAllButLast&lt;T&gt;(IEnumerable&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_TakeAllButLast__1_System_Collections_Generic_IEnumerable___0__System_Int32_">EnumerableExtensions.TakeAllButLast&lt;T&gt;(IEnumerable&lt;T&gt;, Int32)</a>
</div>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionValueBase_1.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionValueBase%601%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
</li>
<li>
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L40" class="contribution-link">View Source</a>
</li>
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
Copyright © 2020 Licensed to the Apache Software Foundation (ASF)
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../../styles/docfx.js"></script>
<script type="text/javascript" src="../../styles/main.js"></script>
</body>
</html>