コード例 #1
0
ファイル: Outgoing.cs プロジェクト: habb0/Sulakore
 static Outgoing()
 {
     Global = new Outgoing();
     _serializer = new DataContractJsonSerializer(typeof(Outgoing));
 }
コード例 #2
0
ファイル: Outgoing.cs プロジェクト: offline-zz/Sulakore
        static Outgoing()
        {
            _serializer = new DataContractJsonSerializer(typeof(Outgoing));

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