public static void RemoveExtData(this IExtData extData, string key) { extData.GetExtData().Remove(key); }
public static void SetExtData(this IExtData extData, string key, object value) { extData.GetExtData()[key] = JToken.FromObject(value); }
public static object GetExtData(this IExtData extData, string key, object ifNotFound = null) { return(extData.GetExtData().ContainsKey(key) ? extData.GetExtData()[key] : ifNotFound); }
public static bool ContainsExtData(this IExtData extData, string key) { return(extData.GetExtData().ContainsKey(key)); }
public static IEnumerable <string> GetExtDataKeys(this IExtData extData) { return(extData.GetExtData().Keys); }
public static int GetExtDataCount(this IExtData extData) { return(extData.GetExtData().Count); }