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)))); }
public Updater(Reifier reifier) { _reifier = reifier; }