Exemple #1
0
        public static ITin OpenTin(string tinFullname)
        {
            if (!Directory.Exists(tinFullname))
            {
                throw new Exception("Tin不存在");
            }
            var tinName = Path.GetFileName(tinFullname);

            return((WorkspaceFactory.OpenFromFile(Path.GetDirectoryName(tinFullname), 0) as ITinWorkspace).OpenTin(tinName));
        }