private void buildSource(string name)
        {
            lock (this)
            {
                if (!_sources.ContainsKey(name))
                {
                    IReaderSource source = _commandFactory.BuildReaderSource(name);
                    source.Attach(_parent);

                    _sources.Add(name, source);
                }
            }
        }
Beispiel #2
0
 public StudentSync()
 {
     readerSource = SeatManage.InterfaceFactory.AssemblyFactory.CreateAssembly("IReaderSource") as IReaderSource;  //ReaderSourceAssemblyFactory.CreateReaderSourceAssembly();
 }
Beispiel #3
0
 bool IRegexFSMTransitionProxy <T> .TransitProxy(IReaderSource <T> readerSource, RegexFSMTransitProxyHandler <T> handler, params object[] args)
 {
     return(this.Predicate(this, readerSource, handler, args));
 }
Beispiel #4
0
 public Srb(int aMaxBytes, IReaderSource aSource)
     : base(aMaxBytes)
 {
     iSource = aSource;
     iOffset = 0;
 }
Beispiel #5
0
 public Srb(int aMaxBytes, IReaderSource aSource)
     : base(aMaxBytes)
 {
     iSource = aSource;
     iOffset = 0;
 }