[Mono-dev] [PATCH] Fix for Membership.{Encrypt, Decrypt}Password

Chris Toshok toshok at ximian.com
Tue Nov 21 14:16:49 EST 2006


On Tue, 2006-11-21 at 13:12 +0100, Marek Habersack wrote:
> On Tue, 21 Nov 2006 03:54:40 -0800, "Konstantin Triger"
> <kostat at mainsoft.com> scribbled:
> 
> > Hi Marek,
> Hey Konstantin,
> 
> > You are actually adding 2 protected properties, thus changing the
> Yeah, I know, but it seemed to be the simplest way to go regarding
> SqlMembershipProvider (and possible other future providers) without
> exposing the properties to the rest of the assembly. But if you think
> it would be ok to make them internal only, that's fine.

It's not an option of what is simplest - we can't change the public api.
also, your worry about not exposing the properties to the rest of the
assembly is incorrect.  "protected internal" doesn't mean protected AND
internal (i.e. only available to subclasses in the same assembly).  it
means protected OR internal (i.e. available to subclasses and to the
rest of the assembly).  So those properties are already exposed to the
rest of the assembly.

> > public interface (BTW, Algorithm is never used).
> Yes, I added it for "future use" - for the providers that might want to
> use it.

since it's not a public api, they can't in a portable way.

Chris




More information about the Mono-devel-list mailing list