Exemplo n.º 1
0
        }                                       // Contains defined as is standalone or chained clues
        #endregion

        // Should be async ready
        #region Clue Manipulations
        public void ChangeExistingClue(string originalClueString, string newClueString)
        {
            List <Document> affectedDocuments;
            // Make a change in collections: assume original clue always exists
            Clue original = ClueSet.Get(originalClueString);

            original.Rename(newClueString);

            // Record affected documents
            affectedDocuments = Fragments[fragments[0]].Documents.ToList();

            // <development>
            // Might also want to consider those documents that refer to these affected docuemtns using such a clue
            // We need a registration mechanism so a clue knows whether or not itself it referenced



            // Populate change to affected documents
        }
Exemplo n.º 2
0
 public bool Equals(Clue compareClue)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 3
0
 }                                                       // Whether this is a standalonw single fragment clue
 public bool Contains(Clue subClue)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 public ClueNode(Clue clue = null)
 {
     Children = new Dictionary <string, ClueNode>();
     Clue     = clue;
 }