Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the MarvelAPIClient class
 /// </summary>
 /// <param name="configuration">The configuration of the Marvel API</param>
 public MarvelAPIClient(IMarvelAPIConfiguration configuration)
 {
     Characters = new CharactersAPI(configuration);
     Comics     = new ComicsAPI(configuration);
     Creators   = new CreatorsAPI(configuration);
     Events     = new EventsAPI(configuration);
     Series     = new SeriesAPI(configuration);
     Stories    = new StoriesAPI(configuration);
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the StoriesAPI class
 /// </summary>
 /// <param name="configuration">The configuration of the Marvel API</param>
 public StoriesAPI(IMarvelAPIConfiguration configuration)
     : base(configuration)
 {
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the BaseAPI class
 /// </summary>
 /// <param name="configuration">The configuration of the Marvel API</param>
 protected BaseAPI(IMarvelAPIConfiguration configuration)
 {
     publicKey  = configuration.PublicKey;
     privateKey = configuration.PrivateKey;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the CharactersAPI class
 /// </summary>
 /// <param name="configuration">The configuration of the Marvel API</param>
 public CharactersAPI(IMarvelAPIConfiguration configuration)
     : base(configuration)
 {
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new instance of the EventsAPI class
 /// </summary>
 /// <param name="configuration">The configuration of the Marvel API</param>
 public EventsAPI(IMarvelAPIConfiguration configuration)
     : base(configuration)
 {
 }
Beispiel #6
0
 /// <summary>
 /// Initializes a new instance of the ComicsAPI class
 /// </summary>
 /// <param name="configuration">The configuration of the Marvel API</param>
 public ComicsAPI(IMarvelAPIConfiguration configuration)
     : base(configuration)
 {
 }
Beispiel #7
0
 /// <summary>
 /// Initializes a new instance of the CreatorsAPI class
 /// </summary>
 /// <param name="configuration">The configuration of the Marvel API</param>
 public CreatorsAPI(IMarvelAPIConfiguration configuration)
     : base(configuration)
 {
 }