-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6172d1
commit e60736c
Showing
10 changed files
with
1,093 additions
and
0 deletions.
There are no files selected for viewing
122 changes: 122 additions & 0 deletions
122
src/KubeUI/ControlExtensions.Generated/Connector_MarkupExtensions.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
#nullable enable | ||
using Avalonia.Data; | ||
using Avalonia.Data.Converters; | ||
using System; | ||
using System.Linq.Expressions; | ||
using System.Numerics; | ||
using System.Runtime.CompilerServices; | ||
|
||
namespace Avalonia.Markup.Declarative; | ||
[global::System.CodeDom.Compiler.GeneratedCode("AvaloniaExtensionGenerator", "11.1.3.0")] | ||
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] | ||
public static partial class Connector_MarkupExtensions | ||
{ | ||
//================= Properties ======================// | ||
// StartPointProperty | ||
|
||
/*BindFromExpressionSetterGenerator*/ | ||
public static T StartPoint<T>(this T control, Func<Avalonia.Point> func, Action<Avalonia.Point>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : NodeEditor.Controls.Connector | ||
=> control._set(NodeEditor.Controls.Connector.StartPointProperty, func, onChanged, expression); | ||
|
||
/*MagicalSetterGenerator*/ | ||
public static T StartPoint<T>(this T control, Avalonia.Point value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : NodeEditor.Controls.Connector | ||
=> control._setEx(NodeEditor.Controls.Connector.StartPointProperty, ps, () => control.StartPoint = value, bindingMode, converter, bindingSource); | ||
|
||
/*BindSetterGenerator*/ | ||
public static T StartPoint<T>(this T control, IBinding binding) where T : NodeEditor.Controls.Connector | ||
=> control._set(NodeEditor.Controls.Connector.StartPointProperty, binding); | ||
|
||
/*AvaloniaPropertyBindSetterGenerator*/ | ||
public static T StartPoint<T>(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : NodeEditor.Controls.Connector | ||
=> control._set(NodeEditor.Controls.Connector.StartPointProperty, avaloniaProperty, bindingMode, converter, overrideView); | ||
|
||
/*MagicalSetterWithConverterGenerator*/ | ||
public static T StartPoint<T,TValue>(this T control, TValue value, FuncValueConverter<TValue, Avalonia.Point> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : NodeEditor.Controls.Connector | ||
=> control._setEx(NodeEditor.Controls.Connector.StartPointProperty, ps, () => control.StartPoint = converter.TryConvert(value), bindingMode, converter, bindingSource); | ||
|
||
|
||
// EndPointProperty | ||
|
||
/*BindFromExpressionSetterGenerator*/ | ||
public static T EndPoint<T>(this T control, Func<Avalonia.Point> func, Action<Avalonia.Point>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : NodeEditor.Controls.Connector | ||
=> control._set(NodeEditor.Controls.Connector.EndPointProperty, func, onChanged, expression); | ||
|
||
/*MagicalSetterGenerator*/ | ||
public static T EndPoint<T>(this T control, Avalonia.Point value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : NodeEditor.Controls.Connector | ||
=> control._setEx(NodeEditor.Controls.Connector.EndPointProperty, ps, () => control.EndPoint = value, bindingMode, converter, bindingSource); | ||
|
||
/*BindSetterGenerator*/ | ||
public static T EndPoint<T>(this T control, IBinding binding) where T : NodeEditor.Controls.Connector | ||
=> control._set(NodeEditor.Controls.Connector.EndPointProperty, binding); | ||
|
||
/*AvaloniaPropertyBindSetterGenerator*/ | ||
public static T EndPoint<T>(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : NodeEditor.Controls.Connector | ||
=> control._set(NodeEditor.Controls.Connector.EndPointProperty, avaloniaProperty, bindingMode, converter, overrideView); | ||
|
||
/*MagicalSetterWithConverterGenerator*/ | ||
public static T EndPoint<T,TValue>(this T control, TValue value, FuncValueConverter<TValue, Avalonia.Point> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : NodeEditor.Controls.Connector | ||
=> control._setEx(NodeEditor.Controls.Connector.EndPointProperty, ps, () => control.EndPoint = converter.TryConvert(value), bindingMode, converter, bindingSource); | ||
|
||
|
||
// OffsetProperty | ||
|
||
/*BindFromExpressionSetterGenerator*/ | ||
public static T Offset<T>(this T control, Func<System.Double> func, Action<System.Double>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : NodeEditor.Controls.Connector | ||
=> control._set(NodeEditor.Controls.Connector.OffsetProperty, func, onChanged, expression); | ||
|
||
/*MagicalSetterGenerator*/ | ||
public static T Offset<T>(this T control, System.Double value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : NodeEditor.Controls.Connector | ||
=> control._setEx(NodeEditor.Controls.Connector.OffsetProperty, ps, () => control.Offset = value, bindingMode, converter, bindingSource); | ||
|
||
/*BindSetterGenerator*/ | ||
public static T Offset<T>(this T control, IBinding binding) where T : NodeEditor.Controls.Connector | ||
=> control._set(NodeEditor.Controls.Connector.OffsetProperty, binding); | ||
|
||
/*AvaloniaPropertyBindSetterGenerator*/ | ||
public static T Offset<T>(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : NodeEditor.Controls.Connector | ||
=> control._set(NodeEditor.Controls.Connector.OffsetProperty, avaloniaProperty, bindingMode, converter, overrideView); | ||
|
||
/*MagicalSetterWithConverterGenerator*/ | ||
public static T Offset<T,TValue>(this T control, TValue value, FuncValueConverter<TValue, System.Double> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : NodeEditor.Controls.Connector | ||
=> control._setEx(NodeEditor.Controls.Connector.OffsetProperty, ps, () => control.Offset = converter.TryConvert(value), bindingMode, converter, bindingSource); | ||
|
||
|
||
|
||
//================= Events ======================// | ||
|
||
//================= Styles ======================// | ||
// StartPointProperty | ||
|
||
/*ValueStyleSetterGenerator*/ | ||
public static Style<T> StartPoint<T>(this Style<T> style, Avalonia.Point value) where T : NodeEditor.Controls.Connector | ||
=> style._addSetter(NodeEditor.Controls.Connector.StartPointProperty, value); | ||
|
||
/*BindingStyleSetterGenerator*/ | ||
public static Style<T> StartPoint<T>(this Style<T> style, IBinding binding) where T : NodeEditor.Controls.Connector | ||
=> style._addSetter(NodeEditor.Controls.Connector.StartPointProperty, binding); | ||
|
||
|
||
// EndPointProperty | ||
|
||
/*ValueStyleSetterGenerator*/ | ||
public static Style<T> EndPoint<T>(this Style<T> style, Avalonia.Point value) where T : NodeEditor.Controls.Connector | ||
=> style._addSetter(NodeEditor.Controls.Connector.EndPointProperty, value); | ||
|
||
/*BindingStyleSetterGenerator*/ | ||
public static Style<T> EndPoint<T>(this Style<T> style, IBinding binding) where T : NodeEditor.Controls.Connector | ||
=> style._addSetter(NodeEditor.Controls.Connector.EndPointProperty, binding); | ||
|
||
|
||
// OffsetProperty | ||
|
||
/*ValueStyleSetterGenerator*/ | ||
public static Style<T> Offset<T>(this Style<T> style, System.Double value) where T : NodeEditor.Controls.Connector | ||
=> style._addSetter(NodeEditor.Controls.Connector.OffsetProperty, value); | ||
|
||
/*BindingStyleSetterGenerator*/ | ||
public static Style<T> Offset<T>(this Style<T> style, IBinding binding) where T : NodeEditor.Controls.Connector | ||
=> style._addSetter(NodeEditor.Controls.Connector.OffsetProperty, binding); | ||
|
||
|
||
|
||
} |
43 changes: 43 additions & 0 deletions
43
src/KubeUI/ControlExtensions.Generated/DrawingDropHandler_MarkupExtensions.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#nullable enable | ||
using Avalonia.Data; | ||
using Avalonia.Data.Converters; | ||
using System; | ||
using System.Linq.Expressions; | ||
using System.Numerics; | ||
using System.Runtime.CompilerServices; | ||
|
||
namespace Avalonia.Markup.Declarative; | ||
[global::System.CodeDom.Compiler.GeneratedCode("AvaloniaExtensionGenerator", "11.1.3.0")] | ||
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] | ||
public static partial class DrawingDropHandler_MarkupExtensions | ||
{ | ||
//================= Properties ======================// | ||
// RelativeToProperty | ||
|
||
/*BindFromExpressionSetterGenerator*/ | ||
public static T RelativeTo<T>(this T control, Func<Avalonia.Controls.Control> func, Action<Avalonia.Controls.Control>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : NodeEditor.Behaviors.DrawingDropHandler | ||
=> control._set(NodeEditor.Behaviors.DrawingDropHandler.RelativeToProperty, func, onChanged, expression); | ||
|
||
/*MagicalSetterGenerator*/ | ||
public static T RelativeTo<T>(this T control, Avalonia.Controls.Control value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : NodeEditor.Behaviors.DrawingDropHandler | ||
=> control._setEx(NodeEditor.Behaviors.DrawingDropHandler.RelativeToProperty, ps, () => control.RelativeTo = value, bindingMode, converter, bindingSource); | ||
|
||
/*BindSetterGenerator*/ | ||
public static T RelativeTo<T>(this T control, IBinding binding) where T : NodeEditor.Behaviors.DrawingDropHandler | ||
=> control._set(NodeEditor.Behaviors.DrawingDropHandler.RelativeToProperty, binding); | ||
|
||
/*AvaloniaPropertyBindSetterGenerator*/ | ||
public static T RelativeTo<T>(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : NodeEditor.Behaviors.DrawingDropHandler | ||
=> control._set(NodeEditor.Behaviors.DrawingDropHandler.RelativeToProperty, avaloniaProperty, bindingMode, converter, overrideView); | ||
|
||
/*MagicalSetterWithConverterGenerator*/ | ||
public static T RelativeTo<T,TValue>(this T control, TValue value, FuncValueConverter<TValue, Avalonia.Controls.Control> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : NodeEditor.Behaviors.DrawingDropHandler | ||
=> control._setEx(NodeEditor.Behaviors.DrawingDropHandler.RelativeToProperty, ps, () => control.RelativeTo = converter.TryConvert(value), bindingMode, converter, bindingSource); | ||
|
||
|
||
|
||
//================= Events ======================// | ||
|
||
//================= Styles ======================// | ||
|
||
} |
54 changes: 54 additions & 0 deletions
54
src/KubeUI/ControlExtensions.Generated/DrawingNodeProperties_MarkupExtensions.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#nullable enable | ||
using Avalonia.Data; | ||
using Avalonia.Data.Converters; | ||
using System; | ||
using System.Linq.Expressions; | ||
using System.Numerics; | ||
using System.Runtime.CompilerServices; | ||
|
||
namespace Avalonia.Markup.Declarative; | ||
[global::System.CodeDom.Compiler.GeneratedCode("AvaloniaExtensionGenerator", "11.1.3.0")] | ||
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] | ||
public static partial class DrawingNodeProperties_MarkupExtensions | ||
{ | ||
//================= Properties ======================// | ||
// DrawingNodeProperty | ||
|
||
/*BindFromExpressionSetterGenerator*/ | ||
public static T DrawingNode<T>(this T control, Func<NodeEditor.Controls.DrawingNode> func, Action<NodeEditor.Controls.DrawingNode>? onChanged = null, [CallerArgumentExpression("func")] string? expression = null) where T : NodeEditor.Controls.DrawingNodeProperties | ||
=> control._set(NodeEditor.Controls.DrawingNodeProperties.DrawingNodeProperty, func, onChanged, expression); | ||
|
||
/*MagicalSetterGenerator*/ | ||
public static T DrawingNode<T>(this T control, NodeEditor.Controls.DrawingNode value, BindingMode? bindingMode = null, IValueConverter? converter = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : NodeEditor.Controls.DrawingNodeProperties | ||
=> control._setEx(NodeEditor.Controls.DrawingNodeProperties.DrawingNodeProperty, ps, () => control.DrawingNode = value, bindingMode, converter, bindingSource); | ||
|
||
/*BindSetterGenerator*/ | ||
public static T DrawingNode<T>(this T control, IBinding binding) where T : NodeEditor.Controls.DrawingNodeProperties | ||
=> control._set(NodeEditor.Controls.DrawingNodeProperties.DrawingNodeProperty, binding); | ||
|
||
/*AvaloniaPropertyBindSetterGenerator*/ | ||
public static T DrawingNode<T>(this T control, AvaloniaProperty avaloniaProperty, BindingMode? bindingMode = null, IValueConverter? converter = null, ViewBase? overrideView = null) where T : NodeEditor.Controls.DrawingNodeProperties | ||
=> control._set(NodeEditor.Controls.DrawingNodeProperties.DrawingNodeProperty, avaloniaProperty, bindingMode, converter, overrideView); | ||
|
||
/*MagicalSetterWithConverterGenerator*/ | ||
public static T DrawingNode<T,TValue>(this T control, TValue value, FuncValueConverter<TValue, NodeEditor.Controls.DrawingNode> converter, BindingMode? bindingMode = null, object? bindingSource = null, [CallerArgumentExpression("value")] string? ps = null) where T : NodeEditor.Controls.DrawingNodeProperties | ||
=> control._setEx(NodeEditor.Controls.DrawingNodeProperties.DrawingNodeProperty, ps, () => control.DrawingNode = converter.TryConvert(value), bindingMode, converter, bindingSource); | ||
|
||
|
||
|
||
//================= Events ======================// | ||
|
||
//================= Styles ======================// | ||
// DrawingNodeProperty | ||
|
||
/*ValueStyleSetterGenerator*/ | ||
public static Style<T> DrawingNode<T>(this Style<T> style, NodeEditor.Controls.DrawingNode value) where T : NodeEditor.Controls.DrawingNodeProperties | ||
=> style._addSetter(NodeEditor.Controls.DrawingNodeProperties.DrawingNodeProperty, value); | ||
|
||
/*BindingStyleSetterGenerator*/ | ||
public static Style<T> DrawingNode<T>(this Style<T> style, IBinding binding) where T : NodeEditor.Controls.DrawingNodeProperties | ||
=> style._addSetter(NodeEditor.Controls.DrawingNodeProperties.DrawingNodeProperty, binding); | ||
|
||
|
||
|
||
} |
Oops, something went wrong.