public override void RunUnSilent(IStore store)
        {
            switch (Graph.SparqlGrpahRefTypeEnum)
            {
            case SparqlGrpahRefTypeEnum.Setted:
                store.NamedGraphs.DropGraph(Graph.Name);
                break;

            case SparqlGrpahRefTypeEnum.Default:
                store.Clear();
                break;

            case SparqlGrpahRefTypeEnum.Named:
                store.NamedGraphs.ClearAllNamedGraphs();
                break;

            case SparqlGrpahRefTypeEnum.All:
                store.ClearAll();
                break;

            default:
                throw new ArgumentOutOfRangeException();
            }
        }
示例#2
0
 public void Clear()
 {
     m_store.Clear();
 }
示例#3
0
 public void Clear()
 {
     m_w.Clear();
     m_stack.Clear();
     m_stack.Push(new Context(Current.ROOT));
 }