Example #1
0
        private void ChangeQuoteButtonWithCoercionOnClick(object sender, RoutedEventArgs routedEventArgs)
        {
            var newQuote = new QuoteData {
                Price = 100.0, Symbol = "AAPL"
            };

            QuoteButtonWithCoercion.Quote = newQuote;
        }
Example #2
0
 public static void Write(string objectName, QuoteData quote)
 {
     Write(string.Format("object: {0}, quote: {1}", objectName, quote));
 }
Example #3
0
 private void ChangeQuoteButtonWithCoercionOnClick(object sender, RoutedEventArgs routedEventArgs)
 {
     var newQuote = new QuoteData { Price = 100.0, Symbol = "AAPL" };
     QuoteButtonWithCoercion.Quote = newQuote;
 }