Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (54 sloc) 5.04 KB
<Type Name="StackExchangeRedisCacheServiceCollectionExtensions" FullName="Microsoft.Extensions.DependencyInjection.StackExchangeRedisCacheServiceCollectionExtensions">
<TypeSignature Language="C#" Value="public static class StackExchangeRedisCacheServiceCollectionExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit StackExchangeRedisCacheServiceCollectionExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Extensions.DependencyInjection.StackExchangeRedisCacheServiceCollectionExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module StackExchangeRedisCacheServiceCollectionExtensions" />
<TypeSignature Language="C++ CLI" Value="public ref class StackExchangeRedisCacheServiceCollectionExtensions abstract sealed" />
<TypeSignature Language="F#" Value="type StackExchangeRedisCacheServiceCollectionExtensions = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.StackExchangeRedis</AssemblyName>
<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>Extension methods for setting up Redis distributed cache related services in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="AddStackExchangeRedisCache">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddStackExchangeRedisCache (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action&lt;Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions&gt; setupAction);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.DependencyInjection.IServiceCollection AddStackExchangeRedisCache(class Microsoft.Extensions.DependencyInjection.IServiceCollection services, class System.Action`1&lt;class Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions&gt; setupAction) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.DependencyInjection.StackExchangeRedisCacheServiceCollectionExtensions.AddStackExchangeRedisCache(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions})" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function AddStackExchangeRedisCache (services As IServiceCollection, setupAction As Action(Of RedisCacheOptions)) As IServiceCollection" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddStackExchangeRedisCache(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action&lt;Microsoft::Extensions::Caching::StackExchangeRedis::RedisCacheOptions ^&gt; ^ setupAction);" />
<MemberSignature Language="F#" Value="static member AddStackExchangeRedisCache : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action&lt;Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions&gt; -&gt; Microsoft.Extensions.DependencyInjection.IServiceCollection" Usage="Microsoft.Extensions.DependencyInjection.StackExchangeRedisCacheServiceCollectionExtensions.AddStackExchangeRedisCache (services, setupAction)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Caching.StackExchangeRedis</AssemblyName>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.DependencyInjection.IServiceCollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="services" Type="Microsoft.Extensions.DependencyInjection.IServiceCollection" RefType="this" />
<Parameter Name="setupAction" Type="System.Action&lt;Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions&gt;" />
</Parameters>
<Docs>
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add services to.</param>
<param name="setupAction">An <see cref="T:System.Action`1" /> to configure the provided
<see cref="T:Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions" />.</param>
<summary>Adds Redis distributed caching services to the specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> so that additional calls can be chained.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.