/// <summary> /// Creates the jurisdiction view. /// </summary> /// <param name="jurisdictionView">The jurisdiction view.</param> /// <returns></returns> /// <exception cref="ArgumentNullException">jurisdictionView</exception> public IJurisdictionListView CreateJurisdictionView(IJurisdiction jurisdictionListView) { if (jurisdictionListView == null) { throw new ArgumentNullException(nameof(jurisdictionListView)); } var view = new JurisdictionListView { ProcessingMessage = "", JurisdictionId = jurisdictionListView.JurisdictionId, JurisdictionName = jurisdictionListView.JurisdictionName }; return(view); }
public JurisdictionController(IJurisdiction jurisdiction) => _jurisdiction = jurisdiction;
public BackWebSetController(IStudent student, IJurisdiction jurisdiction, ICacheService cacheService) { _jurisdiction = jurisdiction; _cacheService = cacheService; _student = student; }
/// <summary> /// 构造函数注入 /// </summary> /// <param name="jurisdiction"></param> public JurisdictionController(IJurisdiction jurisdiction, IPublisher publisher, IFacilitator facilitator) { _jurisdiction = jurisdiction; _publisher = publisher; _facilitator = facilitator; }