• 大小: 1.96MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-14
  • 语言: 其他
  • 标签:

资源简介

主要功能是在操作系统层面上,监视文件系统,当文件发生变化(更改、删除或者新增)时,进行提示,自动同步。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CLang
{
    [Serializable]
    public class KeyValueComposer : Dictionary
    {
        public KeyValueComposer() 
        {
            
        }

        protected KeyValueComposer(SerializationInfo info StreamingContext context) : base(info context) 
        { 
            
        }

        public string Composition
        {
            get { return compose(); }
            set
            {
                splite(value);
            }
        }

        private string compose()
        {
            string s = ““;
            for (int i = 0; i < this.Count; i++)
            {
                KeyValuePair kvp = this.ElementAt(i);
                if (i < this.Count - 1)
                    s += kvp.Key + “:“ + kvp.Value + “|“;
                else
                    s += kvp.Key + “:“ + kvp.Value;
            }
            return s;
        }

        private void splite(string s)
        {
            this.Clear();

            if (s == null)
                throw new Exception();

            string[] arr1 = s.Split(‘|‘);
            foreach (string str in arr1)
            {
                string[] arr2 = str.Split(‘:‘);
                this.Add(arr2[0] arr2[1]);
            }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2981  2012-11-12 20:40  FISSupport\CLang\CLang.csproj

     文件       1456  2012-09-17 12:46  FISSupport\CLang\KeyValue.cs

     文件       5031  2012-11-12 20:40  FISSupport\CLang\LangProperty.cs

     文件        271  2012-08-16 23:11  FISSupport\CLang\obj\Debug\CLang.csproj.FileListAbsolute.txt

     文件      29184  2012-08-16 23:11  FISSupport\CLang\obj\Debug\CLang.dll

     文件      62976  2012-08-16 23:11  FISSupport\CLang\obj\Debug\CLang.pdb

     文件        257  2012-06-26 18:00  FISSupport\CLang\obj\Release\Catlang.csproj.FileListAbsolute.txt

     文件       1409  2012-11-12 20:41  FISSupport\CLang\obj\Release\CLang.csproj.FileListAbsolute.txt

     文件      16896  2012-11-26 13:19  FISSupport\CLang\obj\Release\CLang.dll

     文件      50688  2012-11-26 13:19  FISSupport\CLang\obj\Release\CLang.pdb

     文件       6656  2012-06-26 17:53  FISSupport\CLang\obj\Release\Refactor\Catlang.dll

     文件       7168  2012-11-12 20:55  FISSupport\CLang\obj\Release\Refactor\CLang.dll

     文件      14043  2012-11-26 13:19  FISSupport\CLang\obj\Release\ResolveAssemblyReference.cache

     文件       1426  2012-01-09 09:45  FISSupport\CLang\Properties\AssemblyInfo.cs

     文件      14657  2012-11-12 20:41  FISSupport\CLang\Serialization.cs

     文件       4026  2012-10-12 15:39  FISSupport\CLang\TreeStructure.cs

     文件        564  2012-09-17 22:03  FISSupport\CLang\Value\StringFunctions.cs

     文件       3867  2012-10-07 21:17  FISSupport\CLang\Value\ValueParser.cs

     文件      17578  2012-03-04 19:07  FISSupport\CLight\Catbox.cs

     文件       1214  2012-03-03 15:20  FISSupport\CLight\Catbutton.cs

     文件        712  2011-12-08 10:26  FISSupport\CLight\Catcaption.cs

     文件       1040  2011-12-08 10:26  FISSupport\CLight\Catcaption.Designer.cs

     文件       1217  2011-12-15 19:59  FISSupport\CLight\Catcombox.cs

     文件        679  2011-12-06 13:29  FISSupport\CLight\Catdropdowngrid.cs

     文件       1045  2011-11-24 20:30  FISSupport\CLight\Catdropdowngrid.Designer.cs

     文件       7314  2012-03-06 10:21  FISSupport\CLight\Catdropdowntextbox.cs

     文件       1048  2011-12-06 10:32  FISSupport\CLight\Catdropdowntextbox.Designer.cs

     文件       1159  2012-04-13 14:46  FISSupport\CLight\Catengine.cs

     文件        364  2011-12-15 13:12  FISSupport\CLight\Catform.cs

     文件      13763  2012-04-21 21:10  FISSupport\CLight\Catgesture.cs

............此处省略488个文件信息

评论

共有 条评论

相关资源