Imports MicroFour.StrataFrame.Tools
Imports System.Web.Configuration
Imports BusinessObjectLibrary2
Public Class ApplicationBasePage
Inherits MicroFour.StrataFrame.UI.Web.BasePage
Implements MicroFour.StrataFrame.Tools.ITypeResolver
#Region " Business Object Declarations "
'-- Business Objects defined within this class will be available to
' inherited pages as binding sources to bindable controls. These
' business objects will also be persisted within session variables
' and retrieved each time the page loads. If the business object
' is declared WithEvents, events can be handled without the need
' for AddHandler calls.
Public WithEvents chamados As chamadosbo
#End Region
#Region " ITypeResolver Implementation "
'''
''' Must be used by the StrataFrame Application Framework to resolve a type
''' within this ASP.NET project due to the fact that the Entry Assembly
''' cannot be evaluated in an ASP.NET application
'''
'''
'''
'''
Public Function ResolveType(ByVal TypeName As String) As Type Implements ITypeResolver.ResolveType
'-- Return the gettype for the given TypeName
Return Type.GetType(TypeName, False, True)
End Function
'''
''' Returns the configuration section to the base class allowing the StrataFrame
''' Application Framework to access the assemblies referenced by this project.
'''
'''
'''
Public Function GetCompilationSection() As CompilationSection Implements ITypeResolver.GetCompilationSection
Return WebConfigurationManager.GetSection("system.web/compilation")
End Function
#End Region
End Class