摘要:
public interface ICalculator { String Calculate(String input); }using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.ComponentModel.Composition;namespace WebApplication3{ [Export(typeof(ICalculator))] public class MySimpleCalculator : ICalculator { public s.. 阅读全文