NStub.CSharp.BuildContext.MemberBuildContext.GetTestObjectClassType C# (CSharp) 메소드

GetTestObjectClassType() 보호된 메소드

Gets the type of the object under test.
protected GetTestObjectClassType ( CodeTypeDeclaration testClassDeclaration ) : Type
testClassDeclaration System.CodeDom.CodeTypeDeclaration The test class declaration.
리턴 System.Type
        protected override Type GetTestObjectClassType(CodeTypeDeclaration testClassDeclaration)
        {
            // Get the RuntimeType of the test class.
            return (Type)TestClassDeclaration.UserData[NStubConstants.UserDataClassTypeKey];
        }