CSharpRTMP.Core.Streaming.StreamsManager.FindByProtocolIdByType C# (CSharp) 메소드

FindByProtocolIdByType() 공개 메소드

public FindByProtocolIdByType ( uint protocolId, ulong type, bool partial ) : IStream>.Dictionary
protocolId uint
type ulong
partial bool
리턴 IStream>.Dictionary
        public Dictionary<uint, IStream> FindByProtocolIdByType(uint protocolId, ulong type, bool partial)
        {
            var mask = partial ? type.GetTagMask() : 0xffffffffffffffffL;
            return FindByProtocolId(protocolId)
                .Where(x => (x.Value.Type & mask) == type)
                .ToDictionary(x => x.Key, x => x.Value);
        }