In the CSLA Silverlight version of the MethodCaller class the definition of oneLevelFlags includes DeclaredOnly, Instance, and Public.
In CSLA .Net, oneLevelFlags also includes NonPublic.
What is there about SilverLight that precludes using NonPublic? I would prefer to not have to declare my DataPortal_xxx methods as Public.
VS documentation for silverlight BindingFlags shows NonPublic as an option.
Reason is that you cannot invoke private methods via reflection
in Silverlight.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: JimStone
[mailto:cslanet@lhotka.net]
Sent: Monday, February 02, 2009 10:33 AM
To: Sergey Barskiy
Subject: [CSLA .NET] Silverlight MethodCaller
In the CSLA Silverlight version of the MethodCaller class the definition
of oneLevelFlags includes DeclaredOnly, Instance, and Public.
In CSLA .Net, oneLevelFlags also includes NonPublic.
What is there about SilverLight that precludes using NonPublic? I
would prefer to not have to declare my DataPortal_xxx methods as Public.
VS documentation for silverlight BindingFlags shows NonPublic as an option.
Copyright (c) Marimer LLC