コード例 #1
0
ファイル: GKDataBase.cs プロジェクト: denniscxl/GkDll
 public GKCommonValue CopyAttribute(GKCommonValue src, GKCommonValue dest, bool bDoEvent)
 {
     dest.CopyVale(src);
     if (bDoEvent)
     {
         dest.DoEvent(this);
     }
     return(dest);
 }
コード例 #2
0
ファイル: GKDataBase.cs プロジェクト: denniscxl/GkDll
        public GKCommonValue SetAttribute(int idx, string value, bool bDoEvent)
        {
            GKCommonValue attr = GetOrCreateAttribute((int)idx);

            if (null == attr)
            {
                return(null);
            }
            attr.SetValue(value);
            if (bDoEvent)
            {
                attr.DoEvent(this);
            }
            return(attr);
        }