A simple wrapper class around System.Reflection.Assembly for the sake of testability.
Inheritance: 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));
 }