public FilterListEntry(PacketPropertyValueFilterForm.PacketClass packetClass, PacketPropertyValueFilterForm.ClassMemberPath classProperty, object searchValue, bool isRecursive, string relation, string condition) { this.packetClass = packetClass; this.classProperty = classProperty; this.searchValue = searchValue; this.isRecursive = isRecursive; this.relation = relation; this.condition = condition; }
/// <summary> /// Initializes a new instance of the <see cref="T:PacketPropertyVariable"/> class. /// </summary> /// <param name="packetClass">The packet class.</param> /// <param name="packetClassMemberPath">The packet class member path.</param> /// <param name="name">The name.</param> public PacketPropertyVariable(PacketPropertyValueFilterForm.PacketClass packetClass, PacketPropertyValueFilterForm.ClassMemberPath packetClassMemberPath, string name) { PacketPropertyVariableLink loc = new PacketPropertyVariableLink(packetClass, packetClassMemberPath); this.links.Add(loc); if (null == name) { name = string.Empty; } this.name = name; }
/// <summary> /// Initializes a new instance of the <see cref="T:PacketPropertyVariableLink"/> class. /// </summary> /// <param name="packetClass">The packet class.</param> /// <param name="packetClassMemberPath">The packet class member path.</param> public PacketPropertyVariableLink(PacketPropertyValueFilterForm.PacketClass packetClass, PacketPropertyValueFilterForm.ClassMemberPath packetClassMemberPath) { // Param checks if (null == packetClass) { throw new ArgumentNullException("packetClass"); } if (null == packetClassMemberPath) { throw new ArgumentNullException("packetClassMemberPath"); } // Fields initialization this.packetClass = packetClass; this.packetClassMemberPath = packetClassMemberPath; }