Catel.LogAnalyzer.Behaviors.DropFileBehavior.GetCommand C# (CSharp) 메소드

GetCommand() 개인적인 정적인 메소드

Gets the PreviewDropCommand assigned to the PreviewDropCommandProperty DependencyProperty. As this is only needed by this class, it is private.
private static GetCommand ( UIElement inUiElement ) : ICommand
inUiElement System.Windows.UIElement A UIElement object.
리턴 ICommand
        private static ICommand GetCommand(UIElement inUiElement)
        {
            Argument.IsNotNull(() => inUiElement);

            return (ICommand) inUiElement.GetValue(CommandProperty);
        }