Beispiel #1
0
 public virtual void put(Type key, object value)
 {
     registry[key] = value;
     if (key == typeof(AbstractParserFactory))
     {
         abstractParserFactory = (AbstractParserFactory)value;
     }
     else if (key == typeof(AlgoritmInterface))
     {
         algorithm = (AlgoritmInterface)value;
     }
 }
Beispiel #2
0
 public virtual void setAbstractParserFeatureFactory(AbstractParserFactory _abstractParserFactory)
 {
     registry[typeof(AbstractParserFactory)] = _abstractParserFactory;
     abstractParserFactory = _abstractParserFactory;
 }