CK.WindowManager.Model.PreviewBindingInfo.IsPreviewOf C# (CSharp) Method

IsPreviewOf() public method

public IsPreviewOf ( IBinding newBinding ) : bool
newBinding IBinding
return bool
        public bool IsPreviewOf( IBinding newBinding )
        {
            if( newBinding == null ) throw new ArgumentNullException( "binding" );

            if( Binding == null ) return false;
            return newBinding.Position == Binding.Position && Binding.Target == newBinding.Target;
        }