コード例 #1
0
        public override bool SetAttribute(string name, object value)
        {
            bool success = false;

            BeginUpdate();
            try
            {
                success = _so.SetAttribute(name, value);
            }
            finally
            {
                EndUpdate();
            }

            if (success)
            {
                foreach (ISharedObjectListener listener in _serverListeners)
                {
                    listener.OnSharedObjectUpdate(this, name, value);
                }
            }
            return(success);
        }