Show / Hide Table of Contents

Class ApodUriBuilder

Inheritance
Object
ApodUriBuilder
Implements
IApodUriBuilder
Namespace: Apod.Logic.Net
Assembly: Apod.dll
Syntax
public class ApodUriBuilder : object, IApodUriBuilder

Constructors

| Improve this Doc View Source

ApodUriBuilder(String, String, String)

Declaration
public ApodUriBuilder(string apiKey, string baseUri = "https://api.nasa.gov/planetary/apod", string dateFormat = "yyyy-MM-dd")
Parameters
Type Name Description
String apiKey
String baseUri
String dateFormat

Methods

| Improve this Doc View Source

GetApodUri()

Declaration
public string GetApodUri()
Returns
Type Description
String
| Improve this Doc View Source

GetApodUri(DateTime)

Declaration
public string GetApodUri(DateTime dateTime)
Parameters
Type Name Description
DateTime dateTime
Returns
Type Description
String
| Improve this Doc View Source

GetApodUri(DateTime, DateTime)

Declaration
public string GetApodUri(DateTime startDate, DateTime endDate = null)
Parameters
Type Name Description
DateTime startDate
DateTime endDate
Returns
Type Description
String
| Improve this Doc View Source

GetApodUri(Int32)

Declaration
public string GetApodUri(int count)
Parameters
Type Name Description
Int32 count
Returns
Type Description
String

Implements

IApodUriBuilder
  • Improve this Doc
  • View Source
Back to top Generated by DocFX