public IConfigurationViewToContractAddInAdapter(OriginMenu.Views.IConfiguration view) { _view = view; }
internal static Start9.Api.Contracts.IConfigurationContract ViewToContractAdapter(OriginMenu.Views.IConfiguration view) { if ((view == null)) { return(null); } if (view.GetType().Equals(typeof(IConfigurationContractToViewAddInAdapter))) { return(((IConfigurationContractToViewAddInAdapter)(view)).GetSourceContract()); } else { return(new IConfigurationViewToContractAddInAdapter(view)); } }