private string GetTypedElementId(string elementId, WbapDataType dataType) { StringBuilder sb = new StringBuilder(elementId); sb.Append(dataType.ToString()); return(sb.ToString()); }
public static bool ElementIsDataType(string elementKey, WbapDataType wbapDataType) { bool ret = elementKey.EndsWith(wbapDataType.ToString()); if (!ret) { ret = WbapDataType._String == wbapDataType; } return(ret); }