Get <T>
 (
     string MainBackround = "MainBackround",
     string DarkBackround = "DarkBackround")
     where T : CustomBackground <System.Windows.Media.Brush, Brush, Color>
 {
     return(CustomBackground <System.Windows.Media.Brush, Kit.WPF.Controls.Brush.Brush, Kit.WPF.Controls.Brush.Color>
            .Get <T>(MainBackround, DarkBackround));
 }
示例#2
0
 Get <T, R, B, C>(
     string MainBackround = "MainBackround",
     string DarkBackround = "DarkBackround")
     where B : CrossBrush <R, C>, new()
     where C : Color, new()
     where T : CustomBackground <R, B, C>
 {
     return(CustomBackground <R, B, C> .Get <T>(MainBackround, DarkBackround));
 }
示例#3
0
 Get <T>
 (
     string MainBackround = "MainBackround",
     string DarkBackround = "DarkBackround")
     where T : CustomBackground <Xamarin.Forms.Brush,
                                 Kit.Forms.Controls.Brush.Brush,
                                 Kit.Forms.Controls.Brush.Color>
 {
     return(CustomBackground <Xamarin.Forms.Brush,
                              Kit.Forms.Controls.Brush.Brush,
                              Kit.Forms.Controls.Brush.Color>
            .Get <T>(MainBackround, DarkBackround));
 }