Example #1
0
        public bool Equals(INetworkCommand networkCommand)
        {
            if (!(networkCommand is ChildEntriesRequestNetworkCommand))
            {
                return(false);
            }

            ChildEntriesRequestNetworkCommand other = (ChildEntriesRequestNetworkCommand)networkCommand;

            return(EntryFullPath.Equals(other.EntryFullPath));
        }
        public bool Equals(INetworkCommand networkCommand)
        {
            if (!(networkCommand is FileOpenReadNetworkCommand))
            {
                return(false);
            }

            FileOpenReadNetworkCommand other = (FileOpenReadNetworkCommand)networkCommand;

            return(EntryFullPath.Equals(other.EntryFullPath));
        }
Example #3
0
        public bool Equals(INetworkCommand networkCommand)
        {
            if (!(networkCommand is EntryGetNetworkCommand))
            {
                return(false);
            }

            EntryGetNetworkCommand other = (EntryGetNetworkCommand)networkCommand;

            return(EntryFullPath.Equals(other.EntryFullPath));
        }