Automated dotnet-format update
This commit is contained in:
1 parent
ed41aabdef
commit
4cb300574c
747 files changed
+1000
-1000
No files matched your search
@@ -9,4 +9,4 @@ public class CancelRoutedEventArgs : RoutedEventArgs
|
||||
}
|
||||
|
||||
public bool Cancel { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -15,4 +15,4 @@ public class FunctionEventArgs<T> : RoutedEventArgs
|
||||
}
|
||||
|
||||
public T Info { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -14,4 +14,4 @@ public class KeyboardHookEventArgs : EventArgs
|
||||
IsSystemKey = isSystemKey;
|
||||
Key = KeyInterop.KeyFromVirtualKey(virtualKey);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@ internal class MouseHookEventArgs : EventArgs
|
||||
public MouseHookMessageType MessageType { get; set; }
|
||||
|
||||
public InteropValues.POINT Point { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -65,4 +65,4 @@ public class DisposableObject : IDisposable
|
||||
protected virtual void DisposeNativeResources()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@ public enum BadgeStatus
|
||||
Text,
|
||||
Dot,
|
||||
Processing
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ public enum ChatMessageType
|
||||
Image,
|
||||
Audio,
|
||||
Custom
|
||||
}
|
||||
}
|
||||
@@ -4,4 +4,4 @@ public enum ChatRoleType
|
||||
{
|
||||
Sender,
|
||||
Receiver
|
||||
}
|
||||
}
|
||||
@@ -9,4 +9,4 @@ public enum ColLayoutStatus
|
||||
Xl,
|
||||
Xxl,
|
||||
Auto
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@ public enum DrawerShowMode
|
||||
Cover,
|
||||
Push,
|
||||
Press
|
||||
}
|
||||
}
|
||||
@@ -74,4 +74,4 @@ public class EnumDataProvider : ObjectDataProvider
|
||||
|
||||
return resultList;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,4 +21,4 @@ public enum ExpandMode
|
||||
/// 没有任何限制
|
||||
/// </summary>
|
||||
Freedom
|
||||
}
|
||||
}
|
||||
@@ -55,4 +55,4 @@ public enum HatchStyle
|
||||
LargeCheckerBoard,
|
||||
OutlinedDiamond,
|
||||
SolidDiamond
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ public enum HitMode
|
||||
Hover,
|
||||
Focus,
|
||||
None
|
||||
}
|
||||
}
|
||||
@@ -14,4 +14,4 @@ internal enum ImageCodecFlags
|
||||
Builtin = 0x00010000,
|
||||
System = 0x00020000,
|
||||
User = 0x00040000
|
||||
}
|
||||
}
|
||||
@@ -9,4 +9,4 @@ public enum InfoType
|
||||
Error,
|
||||
Fatal,
|
||||
Ask
|
||||
}
|
||||
}
|
||||
@@ -26,4 +26,4 @@ public enum IpType
|
||||
/// E类IP地址
|
||||
/// </summary>
|
||||
E
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@ public enum LinearLayout
|
||||
Stack,
|
||||
|
||||
Uniform
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@ public enum MouseHookMessageType
|
||||
MouseWheel = 0x020A,
|
||||
RightButtonDown = 0x0204,
|
||||
RightButtonUp = 0x0205
|
||||
}
|
||||
}
|
||||
@@ -21,4 +21,4 @@ public enum NotifyIconInfoType
|
||||
/// A Error Icon.
|
||||
/// </summary>
|
||||
Error
|
||||
}
|
||||
}
|
||||
@@ -62,4 +62,4 @@ public enum PlacementType
|
||||
/// 下右
|
||||
/// </summary>
|
||||
BottomRight,
|
||||
}
|
||||
}
|
||||
@@ -20,4 +20,4 @@ public enum ResultType
|
||||
/// 无数据
|
||||
/// </summary>
|
||||
None
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ public enum ShowAnimation
|
||||
HorizontalMove,
|
||||
VerticalMove,
|
||||
Fade
|
||||
}
|
||||
}
|
||||
@@ -4,4 +4,4 @@ public enum SideMenuItemRole
|
||||
{
|
||||
Header,
|
||||
Item
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ public enum SkinType
|
||||
Default,
|
||||
Dark,
|
||||
Violet
|
||||
}
|
||||
}
|
||||
@@ -19,4 +19,4 @@ public enum StepStatus
|
||||
/// 等待中
|
||||
/// </summary>
|
||||
Waiting
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@ public enum StrokePosition
|
||||
Center,
|
||||
Outside,
|
||||
Inside
|
||||
}
|
||||
}
|
||||
@@ -23,4 +23,4 @@ public enum TextType
|
||||
Double,
|
||||
NnDouble,
|
||||
NpDouble
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@ public enum TitlePlacementType
|
||||
{
|
||||
Left,
|
||||
Top
|
||||
}
|
||||
}
|
||||
@@ -12,4 +12,4 @@ public enum TransitionMode
|
||||
Top2BottomWithFade,
|
||||
Fade,
|
||||
Custom
|
||||
}
|
||||
}
|
||||
@@ -4,4 +4,4 @@ public enum VisualWrapping
|
||||
{
|
||||
NoWrap,
|
||||
Wrap
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@ public class EnumItem
|
||||
public string Description { get; set; }
|
||||
|
||||
public System.Enum Value { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@ public enum FlexContentAlignment
|
||||
Center,
|
||||
SpaceBetween,
|
||||
SpaceAround
|
||||
}
|
||||
}
|
||||
@@ -7,4 +7,4 @@ public enum FlexContentJustify
|
||||
Center,
|
||||
SpaceBetween,
|
||||
SpaceAround
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@ public enum FlexDirection
|
||||
RowReverse,
|
||||
Column,
|
||||
ColumnReverse
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@ public enum FlexItemAlignment
|
||||
Center,
|
||||
Baseline,
|
||||
Stretch
|
||||
}
|
||||
}
|
||||
@@ -7,4 +7,4 @@ public enum FlexItemsAlignment
|
||||
FlexEnd,
|
||||
Center,
|
||||
Baseline
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@ public enum FlexWrap
|
||||
NoWrap,
|
||||
Wrap,
|
||||
WrapReverse
|
||||
}
|
||||
}
|
||||
@@ -267,4 +267,4 @@ internal class GPStream : InteropValues.IStream
|
||||
[MarshalAs(UnmanagedType.I4)]
|
||||
public int reserved;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,4 +25,4 @@ internal class GifFrameDimension
|
||||
if (Equals(this, Page)) return "Page";
|
||||
return "[FrameDimension: " + Guid + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -92,4 +92,4 @@ public class GifImageInfo
|
||||
}
|
||||
|
||||
protected void OnFrameChanged(EventArgs e) => FrameChangedHandler?.Invoke(Image, e);
|
||||
}
|
||||
}
|
||||
@@ -9,4 +9,4 @@ public class GifPropertyItem
|
||||
public short Type { get; set; }
|
||||
|
||||
public byte[] Value { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -110,4 +110,4 @@ public class GifPropertyItemInternal : IDisposable
|
||||
|
||||
return props;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,4 +17,4 @@ internal class ChangeScope : DisposableObject
|
||||
_window.DeferGlowChangesCount--;
|
||||
if (_window.DeferGlowChangesCount == 0) _window.EndDeferGlowChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,4 +110,4 @@ internal class GlowBitmap : DisposableObject
|
||||
DIBits = diBits;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -18,4 +18,4 @@ internal enum GlowBitmapPart
|
||||
RightTop,
|
||||
Right,
|
||||
RightBottom
|
||||
}
|
||||
}
|
||||
@@ -47,4 +47,4 @@ internal class GlowDrawingContext : DisposableObject
|
||||
if (WindowDC != IntPtr.Zero) InteropMethods.DeleteDC(WindowDC);
|
||||
if (BackgroundDC != IntPtr.Zero) InteropMethods.DeleteDC(BackgroundDC);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -203,12 +203,12 @@ internal class GlowEdge : HwndWrapper
|
||||
case 169:
|
||||
case 171:
|
||||
case 173:
|
||||
{
|
||||
var targetWindowHandle = TargetWindowHandle;
|
||||
InteropMethods.SendMessage(targetWindowHandle, 6, new IntPtr(2), IntPtr.Zero);
|
||||
InteropMethods.SendMessage(targetWindowHandle, msg, wParam, IntPtr.Zero);
|
||||
return IntPtr.Zero;
|
||||
}
|
||||
{
|
||||
var targetWindowHandle = TargetWindowHandle;
|
||||
InteropMethods.SendMessage(targetWindowHandle, 6, new IntPtr(2), IntPtr.Zero);
|
||||
InteropMethods.SendMessage(targetWindowHandle, msg, wParam, IntPtr.Zero);
|
||||
return IntPtr.Zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -583,4 +583,4 @@ internal class GlowEdge : HwndWrapper
|
||||
Render = 16,
|
||||
Visibility = 32
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@ public class HandyControlConfig
|
||||
public string Lang { get; set; }
|
||||
|
||||
public int TimelineFrameRate { get; set; } = 60;
|
||||
}
|
||||
}
|
||||
@@ -98,4 +98,4 @@ public abstract class HwndWrapper : DisposableObject
|
||||
DestroyWindowCore();
|
||||
DestroyWindowClassCore();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -37,4 +37,4 @@ public class GrowlInfo
|
||||
public string Token { get; set; }
|
||||
|
||||
public FlowDirection FlowDirection { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -154,4 +154,4 @@ internal sealed class ImageCodecInfo
|
||||
|
||||
return codecs;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -24,4 +24,4 @@ public class MessageBoxInfo
|
||||
public Style Style { get; set; }
|
||||
|
||||
public string StyleKey { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -75,4 +75,4 @@ public readonly struct SystemVersionInfo
|
||||
public static bool operator >=(SystemVersionInfo left, SystemVersionInfo right) => left.CompareTo(right) >= 0;
|
||||
|
||||
public override string ToString() => $"{Major}.{Minor}.{Build}";
|
||||
}
|
||||
}
|
||||
@@ -21,4 +21,4 @@ public class OperationResult
|
||||
Data = true
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,4 +19,4 @@ public class OperationResult<T> : OperationResult
|
||||
/// 操作消息(包含错误原因等数据)
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -66,4 +66,4 @@ internal struct PanelUvSize
|
||||
U = V = 0d;
|
||||
_orientation = orientation;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -59,4 +59,4 @@ public class ColorRange : IValueRange<Color>
|
||||
return Color.FromArgb((byte) (_start.A - _subColorArr[0] * range), (byte) (_start.R - _subColorArr[1] * range),
|
||||
(byte) (_start.G - _subColorArr[2] * range), (byte) (_start.B - _subColorArr[3] * range));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,4 +21,4 @@ public struct DateTimeRange : IValueRange<DateTime>
|
||||
public DateTime End { get; set; }
|
||||
|
||||
public double TotalMilliseconds => (End - Start).TotalMilliseconds;
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@ public struct DoubleRange : IValueRange<double>
|
||||
public double Start { get; set; }
|
||||
|
||||
public double End { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@ public interface IValueRange<T>
|
||||
T Start { get; set; }
|
||||
|
||||
T End { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -371,4 +371,4 @@ public class ResourceToken
|
||||
internal const string ComboBoxItemCapsuleVerticalLast = nameof(ComboBoxItemCapsuleVerticalLast);
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -47,4 +47,4 @@ internal static class ValueBoxes
|
||||
|
||||
internal static object OrientationBox(Orientation value) =>
|
||||
value == Orientation.Horizontal ? HorizontalBox : VerticalBox;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user