A simple wrapper class around System.Reflection.Assembly for the sake of testability.
Наследование: IAssembly
Пример #1
0
 protected override void EstablishContext()
 {
     _theCurrentType = GetType();
     _assembly = new Assembly(_theCurrentType.Assembly);
 }
Пример #2
0
 protected override void EstablishContext()
 {
     _theCurrentType = GetType();
     _assembly = new Assembly(_theCurrentType.Assembly);
     _specificationOnlyMatchingThisContextClass = (type => Equals(type, _theCurrentType));
 }