Apache.NMS.ActiveMQ.Transport.TransportFilter.Narrow C# (CSharp) Method

Narrow() public method

public Narrow ( Type type ) : Object
type System.Type
return Object
        public Object Narrow(Type type)
        {
            if( this.GetType().Equals( type ) ) {
                return this;
            } else if( this.next != null ) {
                return this.next.Narrow( type );
            }

            return null;
        }