static Outgoing() { Global = new Outgoing(); _serializer = new DataContractJsonSerializer(typeof(Outgoing)); }
static Outgoing() { _serializer = new DataContractJsonSerializer(typeof(Outgoing)); Global = new Outgoing(); }
public HTriggers(bool isDetecting) { DetectOutgoing = isDetecting; DetectIncoming = isDetecting; IncomingHeaders = new Incoming(); OutgoingHeaders = new Outgoing(); _inPrevious = new Stack<HMessage>(); _outPrevious = new Stack<HMessage>(); _inLocked = new Dictionary<ushort, Action<InterceptedEventArgs>>(); _outLocked = new Dictionary<ushort, Action<InterceptedEventArgs>>(); _inAttaches = new Dictionary<ushort, EventHandler<InterceptedEventArgs>>(); _outAttaches = new Dictionary<ushort, EventHandler<InterceptedEventArgs>>(); }
static Outgoing() { _global = new Outgoing(); _outgoingType = typeof(Outgoing); _serializer = new DataContractJsonSerializer(_outgoingType); }