예제 #1
0
        public Watcher(string path, string entityName, string propertyName)
        {
            this.path         = path;
            this.entityName   = entityName;
            this.propertyName = propertyName;

            m_timer = new WatcherTimer(OnChanged, OnRenamed, 60000);
        }
예제 #2
0
        private string propertyName = null; // 属性名称,无用

        #endregion Fields

        #region Constructors

        public Watcher(string path, string entityName, string propertyName)
        {
            this.path = path;
            this.entityName = entityName;
            this.propertyName = propertyName;

            m_timer = new WatcherTimer(OnChanged, OnRenamed, 60000);
        }