1.73.0 (latest) 1.69.0 1.68.0 1.60.0 1.59.0 1.55.0 1.50.0

    public class Repeatable<T> : IEnumerable<T>, IEnumerable

Repeatable class which allows you to both pass a single element, as well as an array, as a parameter value.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Repeatable\<T\>

## Implements

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

## Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Apis.Util](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.md.txt)

## Assembly

Google.Apis.Core.dll

| ## Type Parameter ||
|---|---|
| **Name** | **Description** |
| `T` |   |

## Constructors

### Repeatable(IEnumerable\<T\>)

    public Repeatable(IEnumerable<T> enumeration)

Creates a repeatable value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `enumeration` | `IEnumerable` |

## Methods

### GetEnumerator()

    public IEnumerator<T> GetEnumerator()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IEnumerator` |   |

## Operators

### implicit operator Repeatable\<T\>(List\<T\>)

    public static implicit operator Repeatable<T>(List<T> elem)

Converts a number of elements into a repeatable.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `elem` | `List` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Repeatable` |   |

### implicit operator Repeatable\<T\>(T)

    public static implicit operator Repeatable<T>(T elem)

Converts the single element into a repeatable.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `elem` | `T` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Repeatable` |   |

### implicit operator Repeatable\<T\>(T\[\])

    public static implicit operator Repeatable<T>(T[] elem)

Converts a number of elements into a repeatable.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `elem` |   |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Repeatable` |   |

## Extension Method

[Utilities.ThrowIfNull\<T\>(T, string)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities.md.txt#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)