コード例 #1
0
ファイル: Gauge.cs プロジェクト: danielkaradachki/HomeWork
 /// <summary>
 /// Initializes a new instance of the <see cref="Gauge" /> class.
 /// </summary>
 /// <param name="viewContext">The view context.</param>
 /// <param name="initializer">The javascript initializer.</param>
 /// <param name="urlGenerator">The URL Generator.</param>
 public Gauge(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
     : base(viewContext, initializer)
 {
     UrlGenerator = urlGenerator;
     GaugeArea = new GaugeArea();
     Transitions = true;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Gauge" /> class.
 /// </summary>
 /// <param name="viewContext">The view context.</param>
 /// <param name="initializer">The javascript initializer.</param>
 /// <param name="urlGenerator">The URL Generator.</param>
 public Gauge(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
     : base(viewContext, initializer)
 {
     UrlGenerator = urlGenerator;
     GaugeArea    = new GaugeArea();
     Transitions  = true;
 }
コード例 #3
0
ファイル: GaugeAreaSerializer.cs プロジェクト: Zedfa/Core
 public GaugeAreaSerializer(GaugeArea chartArea)
 {
     this.gaugeArea = chartArea;
 }
コード例 #4
0
 public GaugeAreaSerializer(GaugeArea chartArea)
 {
     this.gaugeArea = chartArea;
 }