CSharpRTMP.Core.Streaming.StreamsManager.FindByProtocolIdByTypeByName C# (CSharp) Method

FindByProtocolIdByTypeByName() public method

public FindByProtocolIdByTypeByName ( uint protocolId, ulong type, string name, bool partialType, bool partialName ) : IStream>.Dictionary
protocolId uint
type ulong
name string
partialType bool
partialName bool
return IStream>.Dictionary
        public Dictionary<uint, IStream> FindByProtocolIdByTypeByName(uint protocolId, ulong type, string name,
            bool partialType, bool partialName)
        {
            return FindByProtocolId(protocolId)
                .Where(
                    x =>
                        (x.Value.Type & (partialType ? type.GetTagMask() : 0xffffffffffffffffL)) == type &&
                        (partialName ? x.Value.Name.Contains(name) : x.Value.Name == name))
                .ToDictionary(x => x.Key, x => x.Value);
        }
        public IStream FindByUniqueId(uint uniqueId)