Closed arjundate closed 1 year ago
AreNotPublic() is your friend here, i.e. this code snippet from the unit tests
AreNotPublic()
var result = Types .InAssembly(Assembly.GetAssembly(typeof(ClassA1))) .That() .ResideInNamespace("NetArchTest.TestStructure.Scope") .And() .AreNotPublic().GetTypes();
Returns the InternalClass type.
InternalClass
AreNotPublic()
is your friend here, i.e. this code snippet from the unit testsReturns the
InternalClass
type.