Example #1
0
        private string GetTypedElementId(string elementId, WbapDataType dataType)
        {
            StringBuilder sb = new StringBuilder(elementId);

            sb.Append(dataType.ToString());
            return(sb.ToString());
        }
Example #2
0
        public static bool ElementIsDataType(string elementKey, WbapDataType wbapDataType)
        {
            bool ret = elementKey.EndsWith(wbapDataType.ToString());

            if (!ret)
            {
                ret = WbapDataType._String == wbapDataType;
            }
            return(ret);
        }