Click or drag to resize
BroccoliSharp BroField Class
Represents a BroValue with a field name as a column in a BroRecord. Implicitly castable to all BroType wrapper classes, structures and applicable .NET data types.
Inheritance Hierarchy

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public class BroField : BroValue, IEquatable<BroField>

The BroField type exposes the following members.

Constructors
  NameDescription
Public methodBroField(BroValue, String)
Creates a new BroField from the provided value and specified field name.
Public methodBroField(Object, BroType, String, String)
Creates a new BroField from the provided value, type and specified field name.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current BroField.
(Overrides BroValueEquals(Object).)
Public methodEquals(BroField)
Indicates whether the current BroField is equal to another BroField of the same BroType.
Public methodEquals(BroValue)
Indicates whether the current BroValue is equal to another BroValue of the same BroType.
(Inherited from BroValue.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Gets a hash code for this BroField.
(Overrides BroValueGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents this BroValue.
(Inherited from BroValue.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Equality operator for BroField.
Public operatorStatic member(Boolean to BroField)
Implicitly converts Boolean value to a BroField.
Public operatorStatic member(DateTime to BroField)
Implicitly converts DateTime value to a BroField.
Public operatorStatic member(IPAddress to BroField)
Implicitly converts IPAddress value to a BroField.
Public operatorStatic member(String to BroField)
Implicitly converts String value to a BroField.
Public operatorStatic member(BroAddress to BroField)
Implicitly converts BroAddress value to a BroField.
Public operatorStatic member(BroPacket to BroField)
Implicitly converts BroPacket value to a BroField.
Public operatorStatic member(BroPort to BroField)
Implicitly converts BroPort value to a BroField.
Public operatorStatic member(BroRecord to BroField)
Implicitly converts BroRecord value to a BroField.
Public operatorStatic member(BroSet to BroField)
Implicitly converts BroSet value to a BroField.
Public operatorStatic member(BroString to BroField)
Implicitly converts BroString value to a BroField.
Public operatorStatic member(BroSubnet to BroField)
Implicitly converts BroSubnet value to a BroField.
Public operatorStatic member(BroTable to BroField)
Implicitly converts BroTable value to a BroField.
Public operatorStatic member(BroTime to BroField)
Implicitly converts BroTime value to a BroField.
Public operatorStatic member(BroVector to BroField)
Implicitly converts BroVector value to a BroField.
Public operatorStatic memberInequality
Inequality operator for BroField.
Top
Extension Methods
  NameDescription
Public Extension MethodConvertToType
Attempts to get a new BroValue based on the provided value converted to the specified type.
(Defined by BroValueExtensions.)
Top
Properties
  NameDescription
Public propertyHasValue
Gets a flag that determines if this BroValue as an assigned value.
(Inherited from BroValue.)
Public propertyName
Gets or sets the name of this BroField.
Public propertyType
Gets type of BroValue.
(Inherited from BroValue.)
Public propertyTypeName
Gets or sets optional name of specialized type of BroValue.
(Inherited from BroValue.)
Public propertyValue
Gets value of BroValue.
(Inherited from BroValue.)
Top
Remarks
Name can be an empty string when source BroRecord represents a BroType.List.
See Also