Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
240 lines (240 sloc) 15.9 KB
<Type Name="MemoryCacheEntryOptions" FullName="Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions">
<TypeSignature Language="C#" Value="public class MemoryCacheEntryOptions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit MemoryCacheEntryOptions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions" />
<TypeSignature Language="VB.NET" Value="Public Class MemoryCacheEntryOptions" />
<TypeSignature Language="C++ CLI" Value="public ref class MemoryCacheEntryOptions" />
<TypeSignature Language="F#" Value="type MemoryCacheEntryOptions = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents the cache options applied to an entry of the <see cref="T:Microsoft.Extensions.Caching.Memory.IMemoryCache" /> instance.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MemoryCacheEntryOptions ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; MemoryCacheEntryOptions();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AbsoluteExpiration">
<MemberSignature Language="C#" Value="public Nullable&lt;DateTimeOffset&gt; AbsoluteExpiration { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1&lt;valuetype System.DateTimeOffset&gt; AbsoluteExpiration" />
<MemberSignature Language="DocId" Value="P:Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.AbsoluteExpiration" />
<MemberSignature Language="VB.NET" Value="Public Property AbsoluteExpiration As Nullable(Of DateTimeOffset)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property Nullable&lt;DateTimeOffset&gt; AbsoluteExpiration { Nullable&lt;DateTimeOffset&gt; get(); void set(Nullable&lt;DateTimeOffset&gt; value); };" />
<MemberSignature Language="F#" Value="member this.AbsoluteExpiration : Nullable&lt;DateTimeOffset&gt; with get, set" Usage="Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.AbsoluteExpiration" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable&lt;System.DateTimeOffset&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets an absolute expiration date for the cache entry.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AbsoluteExpirationRelativeToNow">
<MemberSignature Language="C#" Value="public Nullable&lt;TimeSpan&gt; AbsoluteExpirationRelativeToNow { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1&lt;valuetype System.TimeSpan&gt; AbsoluteExpirationRelativeToNow" />
<MemberSignature Language="DocId" Value="P:Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.AbsoluteExpirationRelativeToNow" />
<MemberSignature Language="VB.NET" Value="Public Property AbsoluteExpirationRelativeToNow As Nullable(Of TimeSpan)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property Nullable&lt;TimeSpan&gt; AbsoluteExpirationRelativeToNow { Nullable&lt;TimeSpan&gt; get(); void set(Nullable&lt;TimeSpan&gt; value); };" />
<MemberSignature Language="F#" Value="member this.AbsoluteExpirationRelativeToNow : Nullable&lt;TimeSpan&gt; with get, set" Usage="Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.AbsoluteExpirationRelativeToNow" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable&lt;System.TimeSpan&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets an absolute expiration time, relative to now.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ExpirationTokens">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IList&lt;Microsoft.Extensions.Primitives.IChangeToken&gt; ExpirationTokens { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IList`1&lt;class Microsoft.Extensions.Primitives.IChangeToken&gt; ExpirationTokens" />
<MemberSignature Language="DocId" Value="P:Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.ExpirationTokens" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ExpirationTokens As IList(Of IChangeToken)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Collections::Generic::IList&lt;Microsoft::Extensions::Primitives::IChangeToken ^&gt; ^ ExpirationTokens { System::Collections::Generic::IList&lt;Microsoft::Extensions::Primitives::IChangeToken ^&gt; ^ get(); };" />
<MemberSignature Language="F#" Value="member this.ExpirationTokens : System.Collections.Generic.IList&lt;Microsoft.Extensions.Primitives.IChangeToken&gt;" Usage="Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.ExpirationTokens" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IList&lt;Microsoft.Extensions.Primitives.IChangeToken&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> instances which cause the cache entry to expire.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PostEvictionCallbacks">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IList&lt;Microsoft.Extensions.Caching.Memory.PostEvictionCallbackRegistration&gt; PostEvictionCallbacks { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IList`1&lt;class Microsoft.Extensions.Caching.Memory.PostEvictionCallbackRegistration&gt; PostEvictionCallbacks" />
<MemberSignature Language="DocId" Value="P:Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.PostEvictionCallbacks" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property PostEvictionCallbacks As IList(Of PostEvictionCallbackRegistration)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Collections::Generic::IList&lt;Microsoft::Extensions::Caching::Memory::PostEvictionCallbackRegistration ^&gt; ^ PostEvictionCallbacks { System::Collections::Generic::IList&lt;Microsoft::Extensions::Caching::Memory::PostEvictionCallbackRegistration ^&gt; ^ get(); };" />
<MemberSignature Language="F#" Value="member this.PostEvictionCallbacks : System.Collections.Generic.IList&lt;Microsoft.Extensions.Caching.Memory.PostEvictionCallbackRegistration&gt;" Usage="Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.PostEvictionCallbacks" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IList&lt;Microsoft.Extensions.Caching.Memory.PostEvictionCallbackRegistration&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the callbacks will be fired after the cache entry is evicted from the cache.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Priority">
<MemberSignature Language="C#" Value="public Microsoft.Extensions.Caching.Memory.CacheItemPriority Priority { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Microsoft.Extensions.Caching.Memory.CacheItemPriority Priority" />
<MemberSignature Language="DocId" Value="P:Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.Priority" />
<MemberSignature Language="VB.NET" Value="Public Property Priority As CacheItemPriority" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property Microsoft::Extensions::Caching::Memory::CacheItemPriority Priority { Microsoft::Extensions::Caching::Memory::CacheItemPriority get(); void set(Microsoft::Extensions::Caching::Memory::CacheItemPriority value); };" />
<MemberSignature Language="F#" Value="member this.Priority : Microsoft.Extensions.Caching.Memory.CacheItemPriority with get, set" Usage="Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.Priority" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Caching.Memory.CacheItemPriority</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the priority for keeping the cache entry in the cache during a
memory pressure triggered cleanup. The default is <see cref="F:Microsoft.Extensions.Caching.Memory.CacheItemPriority.Normal" />.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Size">
<MemberSignature Language="C#" Value="public Nullable&lt;long&gt; Size { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1&lt;int64&gt; Size" />
<MemberSignature Language="DocId" Value="P:Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.Size" />
<MemberSignature Language="VB.NET" Value="Public Property Size As Nullable(Of Long)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property Nullable&lt;long&gt; Size { Nullable&lt;long&gt; get(); void set(Nullable&lt;long&gt; value); };" />
<MemberSignature Language="F#" Value="member this.Size : Nullable&lt;int64&gt; with get, set" Usage="Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.Size" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.Abstractions</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable&lt;System.Int64&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the size of the cache entry value.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SlidingExpiration">
<MemberSignature Language="C#" Value="public Nullable&lt;TimeSpan&gt; SlidingExpiration { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1&lt;valuetype System.TimeSpan&gt; SlidingExpiration" />
<MemberSignature Language="DocId" Value="P:Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.SlidingExpiration" />
<MemberSignature Language="VB.NET" Value="Public Property SlidingExpiration As Nullable(Of TimeSpan)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property Nullable&lt;TimeSpan&gt; SlidingExpiration { Nullable&lt;TimeSpan&gt; get(); void set(Nullable&lt;TimeSpan&gt; value); };" />
<MemberSignature Language="F#" Value="member this.SlidingExpiration : Nullable&lt;TimeSpan&gt; with get, set" Usage="Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions.SlidingExpiration" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable&lt;System.TimeSpan&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets how long a cache entry can be inactive (e.g. not accessed) before it will be removed.
This will not extend the entry lifetime beyond the absolute expiration (if set).</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.