/// <summary> /// 是否已启用 /// </summary> public static bool IsEnabled(this IDataState dataState, string key) { return(dataState.GetData(key, false)); }