public GKCommonValue CopyAttribute(GKCommonValue src, GKCommonValue dest, bool bDoEvent) { dest.CopyVale(src); if (bDoEvent) { dest.DoEvent(this); } return(dest); }
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); }