Exemplo n.º 1
0
		public AniDBRequest Anime(string aName, Anime.AMask aMask = null)
		{
			var parValues = new Dictionary<string, string> { { "aname", aName } };

			if (aMask != null)
				parValues.Add("amask", aMask.MaskString);

			return QueueCommand("ANIME", parValues);
		}
Exemplo n.º 2
0
		//--- Data ---\\

		public AniDBRequest Anime(int aID, Anime.AMask aMask = null)
		{
			var parValues = new Dictionary<string, string>
			                                       { { "aid", aID.ToString(CultureInfo.InvariantCulture) } };

			if (aMask != null)
				parValues.Add("amask", aMask.MaskString);

			return QueueCommand("ANIME", parValues);
		}