Jump to content

  • Log In with Google      Sign In   
  • Create Account


AlexKhomich

Member Since 24 May 2010
Offline Last Active Mar 01 2011 02:42 PM
-----

Posts I've Made

In Topic: [.net] Private member access

31 May 2010 - 09:47 AM

As I know there are no way to allow access to private/protected fields (except reflection).

You should use internal or protected internal access modifiers.

More info in MSDN.

InternalsVisibleTo can be applied to whole assembly only and gives ability to share access to internal fields with other assemblies.

In Topic: is there a better design for this interface?

27 May 2010 - 12:41 AM

I like option with interface IPausable, its implementation in class Pausable for further reuse.

Also there are a bit of correction for your second variant of IPausable. Events OnPause/OnResume should be protected in other way you can't inherit that class.

In Topic: MFC vs C# Winforms

27 May 2010 - 12:19 AM

Choice N1: WinForms, C#, P/Invoke.
Choice N2: WinForms, C++/CLI. Only one minus - dependency from MSVCRT dlls.

In Topic: List of free libraries

25 May 2010 - 12:33 AM

New 2D game engine Vortex2D.NET!

URL: http://vortex2d.codeplex.com/

Vortex2D.NET is hardware accelerated 2D game engine. It is mainly focused on rapid development of casual games. Its API is very easy for beginners and powerful for professionals. It uses pixel and vertex shaders to provide amazing runtime effects. Target OS: Windows XP and later. Primary programming languages: C#, C++/CLI, VB.NET

PARTNERS