コード例 #1
0
ファイル: Decoder.cs プロジェクト: andysoftdev/ht4o
 /// <summary>
 ///     Attempts to get the decoder info associated with the tag.
 /// </summary>
 /// <param name="tag">
 ///     The tag.
 /// </param>
 /// <param name="decoderInfo">
 ///     The decoder info.
 /// </param>
 /// <returns>
 ///     <c>true</c> if the decoder info exists for the tag specified, otherwise <c>false</c>.
 /// </returns>
 internal static bool TryGetDecoder(Tags tag, out DecoderInfo decoderInfo)
 {
     return(DecoderInfos.TryGetValue(tag, out decoderInfo));
 }
コード例 #2
0
ファイル: Decoder.cs プロジェクト: andysoftdev/ht4o
 /// <summary>
 /// Attempts to get the decoder info associated with the tag.
 /// </summary>
 /// <param name="tag">
 /// The tag.
 /// </param>
 /// <param name="decoderInfo">
 /// The decoder info.
 /// </param>
 /// <returns>
 /// <c>true</c> if the decoder info exists for the tag specified, otherwise <c>false</c>.
 /// </returns>
 internal static bool TryGetDecoder(Tags tag, out DecoderInfo decoderInfo)
 {
     return DecoderInfos.TryGetValue(tag, out decoderInfo);
 }