public SupportedModelInfo(Model model, IViewObject viewObj, ControllerInfo controllerInfo, IOnPointerEventHelpObject controllerObj) { Model = model; ViewObj = viewObj; ControllerInfo = controllerInfo; ControllerObj = controllerObj; }
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; }
public static EventInterruptedData Create <T>(Model senderModel, IViewObject senderViewObj, object sendEventData, ControllerInfo senderControllerInfo) where T : IEventHandler => Create(senderModel, senderViewObj, typeof(T), sendEventData, senderControllerInfo);
public static EventInterruptedData Create(Model senderModel, IViewObject senderViewObj, System.Type eventType, object sendEventData, ControllerInfo senderControllerInfo) => new EventInterruptedData(senderModel, senderViewObj, eventType, sendEventData, senderControllerInfo);
/// <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);