|
|
Show Posts
|
Pages: [1]
|
3
|
PureMVC Manifold / Standard Version / Problems with VB.Net
|
on: February 14, 2011, 02:54:07
|
Hi,
as programming language I'm using VB.Net. Usually the C#-libraries can be used with out any problems.
I now wanted to try PureMVC and started porting the EmployeeAdmin-WPF-Demo to VB.Net. In the ApplicationFacde I have the problem that I cannot access the "m_instance" from the Facade. I can access "m_controller", "m_model", "m_view" and also "m_staticSyncRoot".
The error-message is "The type of the field 'm_instance' is not supported".
The class so far:
Imports PureMVC.Core Imports PureMVC.Patterns Imports PureMVC.Interfaces
Public Class ApplicationFacade Inherits Facade
#Region "Notification name constants" Public Const STARTUP As String = "startup" #End Region
#Region "Accessors"
'/// <summary> '/// Facade Singleton Factory method. '/// </summary> Public Shared Function GetInstance() As IFacade If m_instance Is Nothing Then m_instance = New ApplicationFacade End If End Function
#End Region
End Class
Why is "m_instance" not accessable?
Regards Sabine
|
|
|
|
|