摘要:
public interface IEventTransmit { void Publish<T>(object obj = null) where T : EventBase, new(); void Subscribe<T>(Action<object> executeMethod) where 阅读全文
摘要:
1、依赖倒置原则 /// <summary> /// 高层模块不应该依赖底层模块 /// 二者都应该依赖其抽象 /// </summary> public class Student { public int Age { get; set; } public string Name { get; s 阅读全文