コード例 #1
0
ファイル: HTriggers.cs プロジェクト: habb0/Sulakore
        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>>();
        }
コード例 #2
0
 static Incoming()
 {
     Global      = new Incoming();
     _serializer = new DataContractJsonSerializer(typeof(Incoming));
 }
コード例 #3
0
ファイル: Incoming.cs プロジェクト: scottstamp/Sulakore
 static Incoming()
 {
     _global       = new Incoming();
     _incomingType = typeof(Incoming);
     _serializer   = new DataContractJsonSerializer(_incomingType);
 }
コード例 #4
0
ファイル: Incoming.cs プロジェクト: habb0/Sulakore
 static Incoming()
 {
     Global = new Incoming();
     _serializer = new DataContractJsonSerializer(typeof(Incoming));
 }