# FirestoreReminderServiceExtensions Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.reminders.firestore/orleans.hosting.firestorereminderserviceextensions/)

## UseFirestoreReminderService(IServiceCollection, Action&lt;FirestoreOptions&gt;) {#usefirestorereminderservice-this-microsoft-extensions-dependencyinjection-iservi-2f84fbc7}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.firestore/orleans.hosting.firestorereminderserviceextensions/methods/usefirestorereminderservice-this-microsoft-extensions-dependencyinjection-iservi-2f84fbc7/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Google/Orleans.Reminders.Firestore/FirestoreReminderServiceExtensions.cs#L26)

```csharp
public static IServiceCollection UseFirestoreReminderService(this IServiceCollection services, Action<FirestoreOptions> configure)
```

Adds reminder storage backed by Google Firestore.

### Parameters

- `services` (`IServiceCollection`): The service collection.
- `configure` (`Action<FirestoreOptions>`): The delegate used to configure the reminder store.

### Returns

The provided `Microsoft.Extensions.DependencyInjection.IServiceCollection`, for chaining.

## UseFirestoreReminderService(IServiceCollection, Action&lt;OptionsBuilder&lt;FirestoreOptions&gt;&gt;) {#usefirestorereminderservice-this-microsoft-extensions-dependencyinjection-iservi-00b57d8a}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.firestore/orleans.hosting.firestorereminderserviceextensions/methods/usefirestorereminderservice-this-microsoft-extensions-dependencyinjection-iservi-00b57d8a/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Google/Orleans.Reminders.Firestore/FirestoreReminderServiceExtensions.cs#L44-L51)

```csharp
public static IServiceCollection UseFirestoreReminderService(this IServiceCollection services, Action<OptionsBuilder<FirestoreOptions>> configureOptions)
```

Adds reminder storage backed by Google Firestore.

### Parameters

- `services` (`IServiceCollection`): The service collection.
- `configureOptions` (`Action<OptionsBuilder<FirestoreOptions>>`): The configuration delegate.

### Returns

The provided `Microsoft.Extensions.DependencyInjection.IServiceCollection`, for chaining.

## UseFirestoreReminderService(ISiloBuilder, Action&lt;FirestoreOptions&gt;) {#usefirestorereminderservice-this-orleans-hosting-isilobuilder-system-action-orle-68b0c946}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.firestore/orleans.hosting.firestorereminderserviceextensions/methods/usefirestorereminderservice-this-orleans-hosting-isilobuilder-system-action-orle-68b0c946/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Google/Orleans.Reminders.Firestore/FirestoreReminderServiceExtensions.cs#L69-L70)

```csharp
public static ISiloBuilder UseFirestoreReminderService(this ISiloBuilder builder, Action<FirestoreOptions> configure)
```

Adds reminder storage backed by Google Cloud Firestore.

### Parameters

- `builder` (`ISiloBuilder`): The builder.
- `configure` (`Action<FirestoreOptions>`): The delegate used to configure the reminder store.

### Returns

The provided [ISiloBuilder](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.hosting.isilobuilder/), for chaining.

## UseFirestoreReminderService(ISiloBuilder, Action&lt;OptionsBuilder&lt;FirestoreOptions&gt;&gt;) {#usefirestorereminderservice-this-orleans-hosting-isilobuilder-system-action-micr-af14c981}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.reminders.firestore/orleans.hosting.firestorereminderserviceextensions/methods/usefirestorereminderservice-this-orleans-hosting-isilobuilder-system-action-micr-af14c981/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Google/Orleans.Reminders.Firestore/FirestoreReminderServiceExtensions.cs#L88-L89)

```csharp
public static ISiloBuilder UseFirestoreReminderService(this ISiloBuilder builder, Action<OptionsBuilder<FirestoreOptions>> configureOptions)
```

Adds reminder storage backed by Google Cloud Firestore.

### Parameters

- `builder` (`ISiloBuilder`): The builder.
- `configureOptions` (`Action<OptionsBuilder<FirestoreOptions>>`): The configuration delegate.

### Returns

The provided [ISiloBuilder](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.hosting.isilobuilder/), for chaining.
