System.Net.EndpointPermission.SubsetMatch C# (CSharp) Метод

SubsetMatch() приватный Метод

private SubsetMatch ( EndpointPermission e ) : bool
e EndpointPermission
Результат bool
        internal bool SubsetMatch(EndpointPermission e) {
            return ((transport == e.transport) || (e.transport == TransportType.All))
                    && ((port == e.port) || (e.port == SocketPermission.AllPorts) || port == SocketPermission.AnyPort)
                    && MatchAddress(e);
        }