internal UiViewState InternalModify(UiViewBase view) { if (view == null) { throw new ArgumentNullException("view"); } _tooltip = view.Tooltip; _icon = view.Icon; return(this); }
public static UiViewState Create(IAcDomain acDomain, UiViewBase view) { if (view == null) { throw new ArgumentNullException("view"); } return(new UiViewState(view.Id) { _acDomain = acDomain, _createOn = view.CreateOn }.InternalModify(view)); }