Example #1
0
        public CustomLayoutWindow(IRailsEditViewBinder viewBinder = null)
        {
            InitializeComponent();

            this.Loaded    += OnLoaded;
            this.viewBinder = viewBinder.Resolve();
        }
 public static IRailsEditViewBinder Resolve(this IRailsEditViewBinder viewBinder)
 {
     return(viewBinder ?? new RailsEditViewBinder());
 }