Esempio n. 1
0
 public SupportedModelInfo(Model model, IViewObject viewObj, ControllerInfo controllerInfo, IOnPointerEventHelpObject controllerObj)
 {
     Model          = model;
     ViewObj        = viewObj;
     ControllerInfo = controllerInfo;
     ControllerObj  = controllerObj;
 }
Esempio n. 2
0
 EventInterruptedData(Model senderModel, IViewObject senderViewObj, System.Type eventType, object sendEventData, ControllerInfo senderControllerInfo)
 {
     SenderModel          = senderModel;
     SenderViewObj        = senderViewObj;
     EventType            = eventType;
     SendEventData        = (sendEventData is IEventData) ? (sendEventData as IEventData).Clone() : sendEventData;
     SenderControllerInfo = senderControllerInfo;
 }
Esempio n. 3
0
 public static EventInterruptedData Create <T>(Model senderModel, IViewObject senderViewObj, object sendEventData, ControllerInfo senderControllerInfo)
     where T : IEventHandler
 => Create(senderModel, senderViewObj, typeof(T), sendEventData, senderControllerInfo);
Esempio n. 4
0
 public static EventInterruptedData Create(Model senderModel, IViewObject senderViewObj, System.Type eventType, object sendEventData, ControllerInfo senderControllerInfo)
 => new EventInterruptedData(senderModel, senderViewObj, eventType, sendEventData, senderControllerInfo);
Esempio n. 5
0
 /// <summary>
 /// 指定されたkeyword,model,viewObjectに対応したEventDataを返します。
 /// </summary>
 /// <param name="keyword"></param>
 /// <param name="model"></param>
 /// <param name="viewObject"></param>
 /// <param name="controllerInfo"></param>
 /// <returns></returns>
 protected abstract object GetEventData(Model model, IViewObject viewObject, ControllerInfo controllerInfo);