예제 #1
0
        public static void Delete_CrossRef_AniDB_Other(int animeID, CrossRefType xrefType)
        {
            if (!ServerSettings.WebCache_XRefFileEpisode_Send)
            {
                return;
            }
            if (ServerSettings.WebCache_Anonymous)
            {
                return;
            }

            string uri = string.Format("http://{0}/DeleteCrossRef_AniDB_Other.aspx", ServerSettings.WebCache_Address);
            DeleteCrossRef_AniDB_OtherRequest req = new DeleteCrossRef_AniDB_OtherRequest(animeID, xrefType);
            string xml = req.ToXML();

            SendData(uri, xml);
        }
예제 #2
0
파일: XMLService.cs 프로젝트: dizzydezz/jmm
		public static void Delete_CrossRef_AniDB_Other(int animeID, CrossRefType xrefType)
		{
			if (!ServerSettings.WebCache_XRefFileEpisode_Send) return;
			if (ServerSettings.WebCache_Anonymous) return;

			string uri = string.Format("http://{0}/DeleteCrossRef_AniDB_Other.aspx", ServerSettings.WebCache_Address);
			DeleteCrossRef_AniDB_OtherRequest req = new DeleteCrossRef_AniDB_OtherRequest(animeID, xrefType);
			string xml = req.ToXML();

			SendData(uri, xml);
		}