Class HomeAway<T>
- Namespace
- Sportradar.LiveData.Sdk.FeedProviders.Common.Entities
- Assembly
- Sportradar.LiveData.Sdk.dll
Home and away tuple (e.g. counters, stats).
[Serializable]
public class HomeAway<T>
Type Parameters
TType that has a home and away value.
- Inheritance
-
HomeAway<T>
- Inherited Members
Constructors
HomeAway(T, T)
Initializes a new instance of the HomeAway<T> class.
public HomeAway(T team1, T team2)
Parameters
team1TTeam 1 / Home team
team2TTeam 2 / Away team
Properties
Team1
Team 1 / Home team.
public T Team1 { get; }
Property Value
- T
Team2
Team 2 / Away team.
public T Team2 { get; }
Property Value
- T
Methods
ToString()
Convert to string representation.
public override string ToString()
Returns
- string
Proper string representation.