public OperationContractToViewAdapter(Calculator.Contracts.IOperationContract contract) { _contract = contract; _handle = new ContractHandle(_contract); }
internal static HostView.Operation ContractToViewAdapter(Calculator.Contracts.IOperationContract contract) { return(new OperationContractToViewAdapter(contract)); }
public INativeHandleContract Operate(Calculator.Contracts.IOperationContract op, double[] operands) { return(FrameworkElementAdapters.ViewToContractAdapter(_view.Operate(OperationViewToContractAddInAdapter.ContractToViewAdapter(op), operands))); }
public static AddInView.Operation ContractToViewAdapter(Calculator.Contracts.IOperationContract contract) { return(((OperationViewToContractAddInAdapter)contract)._view); }
public OperationContractToViewAdapter(Calculator.Contracts.IOperationContract contract) { _contract = contract; _handle = new ContractHandle(_contract); }
public double Operate(Calculator.Contracts.IOperationContract op, double[] operands) { return(_view.Operate(OperationViewToContractAddInAdapter.ContractToViewAdapter(op), operands)); }