示例#1
0
 public SocketParentContext(ConnectorEventContext model)
 {
     Connector = model;
     Socket    = model.SocketContext;
     Sockets   = model.SocketContext.RootModel;
     Parent    = model.SocketContext.RootModel.ParentContext;
 }
示例#2
0
 public SocketParentContext(ConnectorEventContext model) {
     Connector = model;
     Socket = model.SocketContext;
     Sockets = model.SocketContext.RootModel;
     Parent = model.SocketContext.RootModel.ParentContext;
 }