[Mono-list] Undocumented classes?

Chris Podurgiel podurgie@swbell.net
Sun, 26 Aug 2001 18:07:12 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_000E_01C12E59.EE5FFE40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Nick,
:) I'm using the VS.Net beta2, I can compile, hit play, and step through =
the app (vb6 style).  If I mousehover over the returned variable, it =
says it is of type System.Configuration.ReadOnlyNameValueCollection.  =
anywho, it doesn't matter now, because I've got it working like it =
should be.  I had to use System.Refelection to create the instances of =
the SectionHandlers since there can be any number of different user =
defined sections and the user can also create their own secitonHandlers. =
 Having written it this way, it now returns a =
System.Configuration.ReadOnlyNameValueCollection when expected.  =
Althought I'm still not quite sure where the hell it's getting that name =
from. :(

Christopher Podurgiel
  ----- Original Message -----=20
  From: Nick Drochak=20
  To: Chris Podurgiel=20
  Cc: Mono-List=20
  Sent: Sunday, August 26, 2001 5:19 PM
  Subject: RE: [Mono-list] Undocumented classes?


  The docs say Create() returns an object.  How did you determine the =
return value was a "ReadOnlyNameValueCollection"?

  Nick D.

   -----Original Message-----
  From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On =
Behalf Of Chris Podurgiel
  Sent: Sunday, August 26, 2001 1:44 AM
  To: Mono-List
  Subject: [Mono-list] Undocumented classes?


    Hi all,

    I am currently working on the System.Configuration namespace.  In =
the NameValueSectionHandler class, there is a method called Create().
    If I call this method using the classes provided with MS's .NET =
framework, It will return a =
System.Configuration.ReadOnlyNameValueCollection. The problem is,
    this class doesn't exist in their documentation anywhere.  Has =
anyone else ran into a similar situation?

    Thanks,
    Christopher Podurgiel

------=_NextPart_000_000E_01C12E59.EE5FFE40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2462.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Nick,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>:) I'm using the VS.Net beta2, I can =
compile, hit=20
play, and step through the app (vb6 style).&nbsp; If I mousehover over =
the=20
returned variable, it says it is of type=20
System.Configuration.ReadOnlyNameValueCollection.&nbsp; anywho, it =
doesn't=20
matter now, because I've got it working like it should be.&nbsp; I had =
to use=20
System.Refelection to create the instances of the SectionHandlers since =
there=20
can be any number of different user defined sections and the user can =
also=20
create their own secitonHandlers.&nbsp; Having written it this way, it =
now=20
returns a System.Configuration.ReadOnlyNameValueCollection when =
expected.&nbsp;=20
Althought I'm still not quite sure where the hell it's getting that name =
from.=20
:(</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Christopher Podurgiel</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dndrochak@gol.com href=3D"mailto:ndrochak@gol.com">Nick =
Drochak</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dpodurgie@swbell.net=20
  href=3D"mailto:podurgie@swbell.net">Chris Podurgiel</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A =
title=3Dmono-list@ximian.com=20
  href=3D"mailto:mono-list@ximian.com">Mono-List</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Sunday, August 26, 2001 =
5:19=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Mono-list] =
Undocumented=20
  classes?</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D238201722-26082001><FONT face=3DArial =
color=3D#0000ff size=3D2>The=20
  docs say Create() returns an object.&nbsp; How did you=20
  determine&nbsp;the&nbsp;return value&nbsp;was a=20
  "ReadOnlyNameValueCollection"?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D238201722-26082001><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D238201722-26082001><FONT face=3DArial =
color=3D#0000ff size=3D2>Nick=20
  D.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D238201722-26082001></SPAN><FONT face=3DTahoma><FONT =

  size=3D2><SPAN class=3D238201722-26082001><FONT face=3DArial=20
  color=3D#0000ff></FONT></SPAN></FONT></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma><FONT size=3D2><SPAN=20
  class=3D238201722-26082001>&nbsp;</SPAN>-----Original=20
  Message-----<BR><B>From:</B> <A=20
  =
href=3D"mailto:mono-list-admin@ximian.com">mono-list-admin@ximian.com</A>=
=20
  [mailto:mono-list-admin@ximian.com]<B>On Behalf Of </B>Chris=20
  Podurgiel<BR><B>Sent:</B> Sunday, August 26, 2001 1:44 =
AM<BR><B>To:</B>=20
  Mono-List<BR><B>Subject:</B> [Mono-list] Undocumented=20
  classes?<BR><BR></DIV></FONT></FONT>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
    <DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>I am currently working on the=20
    System.Configuration namespace.&nbsp; In the NameValueSectionHandler =
class,=20
    there is a method called Create().</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>If I call this method using the =
classes=20
    provided with MS's .NET framework, It will return a=20
    System.Configuration.ReadOnlyNameValueCollection. The problem=20
    is,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>this class doesn't exist in their =
documentation=20
    anywhere.&nbsp; Has anyone else ran into a similar =
situation?</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Christopher=20
Podurgiel</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000E_01C12E59.EE5FFE40--