/// <summary> /// True if all specified keys are present /// </summary> /// <param name="state"></param> /// <param name="key"></param> /// <returns></returns> public static bool Has(this ASagaState state, params string[] key) => key.All(k => state.RawData.ContainsKey(k));
public static T Get <T>(this ASagaState state, string key, T defValue = default(T)) => state.RawData.GetValue(key, defValue);