C# Class GraphQL.StarWars.StarWarsData

Show file Open project: graphql-dotnet/graphql-dotnet Class Usage Examples

Public Methods

Method Description
GetDroidByIdAsync ( string id ) : Task
GetFriends ( StarWarsCharacter character ) : IEnumerable
GetHumanByIdAsync ( string id ) : Task
StarWarsData ( ) : System.Collections.Generic

Method Details

GetDroidByIdAsync() public method

public GetDroidByIdAsync ( string id ) : Task
id string
return Task

GetFriends() public method

public GetFriends ( StarWarsCharacter character ) : IEnumerable
character GraphQL.StarWars.Types.StarWarsCharacter
return IEnumerable

GetHumanByIdAsync() public method

public GetHumanByIdAsync ( string id ) : Task
id string
return Task

StarWarsData() public method

public StarWarsData ( ) : System.Collections.Generic
return System.Collections.Generic