Automated dotnet-format update
This commit is contained in:
1 parent
ed41aabdef
commit
4cb300574c
747 files changed
+1000
-1000
No files matched your search
@@ -164,4 +164,4 @@ public abstract class AttachableCollection<T> : FreezableCollection<T>, IAttache
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -83,4 +83,4 @@ public abstract class Behavior : Animatable, IAttachedObject
|
||||
protected virtual void OnDetaching()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -38,4 +38,4 @@ public sealed class BehaviorCollection : AttachableCollection<Behavior>
|
||||
{
|
||||
return new BehaviorCollection();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,4 +9,4 @@ public abstract class Behavior<T> : Behavior where T : DependencyObject
|
||||
}
|
||||
|
||||
protected new T AssociatedObject => (T) base.AssociatedObject;
|
||||
}
|
||||
}
|
||||
@@ -45,4 +45,4 @@ public sealed class DefaultTriggerAttribute : Attribute
|
||||
}
|
||||
return (TriggerBase) obj2;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,4 +25,4 @@ public class EventTrigger : EventTriggerBase<object>
|
||||
|
||||
set => SetValue(EventNameProperty, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -309,4 +309,4 @@ public abstract class EventTriggerBase : TriggerBase
|
||||
IsSourceChangedRegistered = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,4 +17,4 @@ public abstract class EventTriggerBase<T> : EventTriggerBase where T : class
|
||||
}
|
||||
|
||||
public new T Source => (T) base.Source;
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@ public interface IAttachedObject
|
||||
void Detach();
|
||||
|
||||
DependencyObject AssociatedObject { get; }
|
||||
}
|
||||
}
|
||||
@@ -73,4 +73,4 @@ public static class Interaction
|
||||
{
|
||||
return element.IsLoaded;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -68,4 +68,4 @@ public sealed class InvokeCommandAction : TriggerAction<DependencyObject>
|
||||
command = (ICommand) property.GetValue(AssociatedObject, null);
|
||||
return command;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,4 +13,4 @@ internal sealed class NameResolvedEventArgs : EventArgs
|
||||
public object NewObject { get; }
|
||||
|
||||
public object OldObject { get; }
|
||||
}
|
||||
}
|
||||
@@ -120,4 +120,4 @@ internal sealed class NameResolver
|
||||
if (!Equals(oldObject, Object))
|
||||
OnObjectChanged(oldObject, Object);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@ namespace HandyControl.Interactivity;
|
||||
public class PreviewInvokeEventArgs : EventArgs
|
||||
{
|
||||
public bool Cancelling { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -114,4 +114,4 @@ public abstract class TriggerAction : Animatable, IAttachedObject
|
||||
protected virtual void OnDetaching()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42,4 +42,4 @@ public class TriggerActionCollection : AttachableCollection<TriggerAction>
|
||||
foreach (var action in this)
|
||||
action.Detach();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,4 +15,4 @@ public abstract class TriggerAction<T> : TriggerAction where T : DependencyObjec
|
||||
|
||||
protected sealed override Type AssociatedObjectTypeConstraint =>
|
||||
base.AssociatedObjectTypeConstraint;
|
||||
}
|
||||
}
|
||||
@@ -106,4 +106,4 @@ public abstract class TriggerBase : Animatable, IAttachedObject
|
||||
protected virtual void OnDetaching()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -38,4 +38,4 @@ public sealed class TriggerCollection : AttachableCollection<TriggerBase>
|
||||
{
|
||||
return new TriggerCollection();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,4 +11,4 @@ public sealed class TypeConstraintAttribute : Attribute
|
||||
}
|
||||
|
||||
public Type Constraint { get; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user