Esempio n. 1
0
        public static IObservable <IBinaryMessage> Run(IObservable <IBinaryMessage> input, string version)
        {
            var builder = new Builder(new UnoBuild(version));
            var reifier = new Reifier(builder);
            var updater = new Updater(reifier);

            return(Observable.Merge(
                       builder.Build(input.TryParse(BuildProject.MessageType, BuildProject.ReadDataFrom)),
                       reifier.Reify(input.TryParse(GenerateBytecode.MessageType, GenerateBytecode.ReadDataFrom)),
                       updater.Update(input.TryParse(UpdateAttribute.MessageType, UpdateAttribute.ReadDataFrom))));
        }
Esempio n. 2
0
 public Updater(Reifier reifier)
 {
     _reifier = reifier;
 }