Ejemplo n.º 1
0
        public ParagraphState Get(Paragraph paragraph)
        {
            ParagraphState output = null;

            _cache.TryGetValue(paragraph.GetHashCode(), out output);
            return(output);
        }
Ejemplo n.º 2
0
 public void Add(Paragraph p, ParagraphState state)
 {
     _cache.Add(p.GetHashCode(), state);
 }
Ejemplo n.º 3
0
 public ParagraphData(Config nconf, ParagraphState state)
 {
     this.nconf = nconf;
     this.state = state;
 }