# RegisterCollection(IAssetProvider, ResourceTableCollection)

> Records a collection so the provider serves its table files at runtime.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Localization.Editor](/engine/6000.7/script-reference/unity/localization/editor.md)
* **Assembly:** UnityEditor

```csharp
public override void RegisterCollection(IAssetProvider provider, ResourceTableCollection collection)
```

### Parameters

**** (\[IAssetProvider]\(/engine/6000.7/script-reference/unity/localization/providers/iassetprovider)): The provider instance from the settings chain.**** (\[ResourceTableCollection]\(/engine/6000.7/script-reference/unity/localization/editor/resourcetablecollection)): The collection to record.

### Remarks

A file source resolves a table by collection guid and locale rather than by individual table, so this records the collection once. Ignored when the collection has no shared data or no collection guid.
