Class Repeatable<T> (1.69.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 > Repeatable<T>

Implements

IEnumerable , IEnumerable

Namespace

Google.Apis.Util

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

Methods

GetEnumerator()

 public IEnumerator<T> GetEnumerator() 
Returns
Type
Description

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
Returns
Type
Description

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

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

Extension Method

Design a Mobile Site
View Site in Mobile | Classic
Share by: