コード例 #1
0
        public void UnRegister(IDocProc docProcObj)
        {
            List <string> extList = docProcObj.GetSupportExt();

            foreach (string ext in extList)
            {
                if (dicDocType.ContainsKey(ext))
                {
                    dicDocType.Remove(ext);
                }
            }
        }
コード例 #2
0
        public void Register(IDocProc docProcObj)
        {
            List <string> extList = docProcObj.GetSupportExt();

            foreach (string ext in extList)
            {
                if (!ext.StartsWith("."))
                {
                    continue;
                }
                dicDocType[ext] = docProcObj;
            }
        }