public override IEnumerable <Binding> GetBindings(BindingRequest request) { var viewFolder = request.ViewFolder; var viewPath = request.ViewPath; var bindings = new List <Binding>(); foreach (var binding in _templateRegistry.BindingsForView(viewPath)) { using (var stream = viewFolder.GetViewSource(binding.ViewPath).OpenViewStream()) using (var reader = new StreamReader(stream)) { bindings.AddRange(LoadStandardMarkup(reader)); } } return(bindings); }