protected override void RemoveInternal(object obj, IEnumerable <Uri> contexts) { if (contexts.Any()) { SesameHelper.ModifyStore(obj, this.RemoveGraphFromContext, contexts); } else { SesameHelper.ModifyStore(obj, this.RemoveGraph); } }
protected override void AddInternal(Object obj, IEnumerable <Uri> contexts) { if (contexts.Any()) { SesameHelper.ModifyStore(obj, this.AddGraphToContext, contexts); } else { SesameHelper.ModifyStore(obj, this.AddGraph); } }