Class Repeatable<T>
Repeatable class which allows you to both pass a single element, as well as an array, as a parameter value.
Inheritance
Repeatable<T>
Assembly: Google.Apis.Core.dll
Syntax
public class Repeatable<T> : IEnumerable<T>, IEnumerable
Type Parameters
Name |
Description |
T |
Repeatable class which allows you to both pass a single element, as well as an array, as a parameter value. |
Constructors
Repeatable(IEnumerable<T>)
Creates a repeatable value.
Declaration
public Repeatable(IEnumerable<T> enumeration)
Parameters
Methods
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Operators
implicit operator Repeatable<T>(List<T>)
Converts a number of elements into a repeatable.
Declaration
public static implicit operator Repeatable<T>(List<T> elem)
Parameters
Type |
Name |
Description |
List<T> |
elem |
|
Returns
implicit operator Repeatable<T>(T)
Converts the single element into a repeatable.
Declaration
public static implicit operator Repeatable<T>(T elem)
Parameters
Type |
Name |
Description |
T |
elem |
|
Returns
implicit operator Repeatable<T>(T[])
Converts a number of elements into a repeatable.
Declaration
public static implicit operator Repeatable<T>(T[] elem)
Parameters
Type |
Name |
Description |
T[] |
elem |
|
Returns
Implements
Extension Methods