public static ChannelListEntry Parse(CommandParameterGroup currrentParameterGroup, CommandParameterGroup firstParameterGroup) { if (currrentParameterGroup == null) throw new ArgumentNullException("currrentParameterGroup"); ChannelListEntry result = new ChannelListEntry(); result.FillFrom(currrentParameterGroup, firstParameterGroup); result.IsSubscribed = currrentParameterGroup.GetParameterValue<byte>("channel_flag_are_subscribed").ToBool(); return result; }
public static ChannelListEntry Parse(CommandParameterGroup currrentParameterGroup, CommandParameterGroup firstParameterGroup) { if (currrentParameterGroup == null) { throw new ArgumentNullException("currrentParameterGroup"); } ChannelListEntry result = new ChannelListEntry(); result.FillFrom(currrentParameterGroup, firstParameterGroup); result.IsSubscribed = currrentParameterGroup.GetParameterValue <byte>("channel_flag_are_subscribed").ToBool(); return(result); }