Example #1
0
		public AniDBRequest File(string aName, string gName, int epNo, AniDBFile.FMask fMask, AniDBFile.AMask aMask)
		{
			return QueueCommand("FILE",
			                             new KeyValuePair<string, string>("aname", aName),
			                             new KeyValuePair<string, string>("gname", gName),
			                             new KeyValuePair<string, string>("epno", epNo.ToString(CultureInfo.InvariantCulture)),
			                             new KeyValuePair<string, string>("fmask", fMask.MaskString),
			                             new KeyValuePair<string, string>("amask", aMask.MaskString));
		}
Example #2
0
		public AniDBRequest File(int aID, int gID, int epNo, AniDBFile.FMask fMask, AniDBFile.AMask aMask)
		{
			return QueueCommand("FILE",
			                             new KeyValuePair<string, string>("aid", aID.ToString(CultureInfo.InvariantCulture)),
			                             new KeyValuePair<string, string>("gid", gID.ToString(CultureInfo.InvariantCulture)),
			                             new KeyValuePair<string, string>("epno", epNo.ToString(CultureInfo.InvariantCulture)),
			                             new KeyValuePair<string, string>("fmask", fMask.MaskString),
			                             new KeyValuePair<string, string>("amask", aMask.MaskString));
		}
Example #3
0
		public AniDBRequest File(long size, string ed2K, AniDBFile.FMask fMask, AniDBFile.AMask aMask)
		{
			return QueueCommand("FILE",
			                             new KeyValuePair<string, string>("size", size.ToString(CultureInfo.InvariantCulture)),
			                             new KeyValuePair<string, string>("ed2k", ed2K),
			                             new KeyValuePair<string, string>("fmask", fMask.MaskString),
			                             new KeyValuePair<string, string>("amask", aMask.MaskString));
		}