Click here to Skip to main content
15,885,366 members
Articles / Programming Languages / C#

A Fast/Compact Serialization Framework

Rate me:
Please Sign up or sign in to vote.
4.85/5 (37 votes)
13 Oct 2010GPL35 min read 281.9K   1.2K   175  
A framework for object serializiation/deserialization that is many times faster and yields a compact output.
<html dir="LTR">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>NxKnownSurrogateElementCollection Properties</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">OpenNxSerialization API Reference</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">NxKnownSurrogateElementCollection�Properties</h1>
      </div>
    </div>
    <div id="nstext">
      <p>The properties of the <b>NxKnownSurrogateElementCollection</b> class are listed below. For a complete list of <b>NxKnownSurrogateElementCollection</b> class members, see the <a href="NeXtreme.OpenNxSerialization.Configuration.NxKnownSurrogateElementCollectionMembers.html">NxKnownSurrogateElementCollection Members</a> topic.</p>
      <h4 class="dtH4">Public Instance Properties</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="NeXtreme.OpenNxSerialization.Configuration.NxKnownSurrogateElementCollection.CollectionType.html">CollectionType</a></td><td width="50%"> Gets the type of the <a href="NeXtreme.OpenNxSerialization.Configuration.NxKnownSurrogateElementCollection.html">NxKnownSurrogateElementCollection</a>
            </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassCountTopic.asp">Count</a> (inherited from <b>ConfigurationElementCollection</b>)</td><td width="50%">Gets the number of elements in the collection.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassElementInformationTopic.asp">ElementInformation</a> (inherited from <b>ConfigurationElement</b>)</td><td width="50%">Gets an <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationElementInformationClassTopic.asp">ElementInformation</a> object that contains the non-customizable information and functionality of the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassTopic.asp">ConfigurationElement</a> object. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassEmitClearTopic.asp">EmitClear</a> (inherited from <b>ConfigurationElementCollection</b>)</td><td width="50%">Specifies whether the collection has been cleared.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassIsSynchronizedTopic.asp">IsSynchronized</a> (inherited from <b>ConfigurationElementCollection</b>)</td><td width="50%">Gets a value indicating whether access to the collection is synchronized (thread safe).</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="NeXtreme.OpenNxSerialization.Configuration.NxKnownSurrogateElementCollection.Item1.html">Item</a></td><td width="50%">Overloaded.  Gets or sets a child element of this configuration element </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassLockAllAttributesExceptTopic.asp">LockAllAttributesExcept</a> (inherited from <b>ConfigurationElement</b>)</td><td width="50%">Gets the collection of locked attributes.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassLockAllElementsExceptTopic.asp">LockAllElementsExcept</a> (inherited from <b>ConfigurationElement</b>)</td><td width="50%">Gets the collection of locked elements.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassLockAttributesTopic.asp">LockAttributes</a> (inherited from <b>ConfigurationElement</b>)</td><td width="50%">Gets the collection of locked attributes </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassLockElementsTopic.asp">LockElements</a> (inherited from <b>ConfigurationElement</b>)</td><td width="50%">Gets the collection of locked elements.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassLockItemTopic.asp">LockItem</a> (inherited from <b>ConfigurationElement</b>)</td><td width="50%">Gets or sets a value indicating whether the element is locked.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassSyncRootTopic.asp">SyncRoot</a> (inherited from <b>ConfigurationElementCollection</b>)</td><td width="50%">Gets an object used to synchronize access to the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassTopic.asp">ConfigurationElementCollection</a>.</td></tr></table>
      </div>
      <h4 class="dtH4">Protected Instance Properties</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="protproperty.gif"></img><a href="NeXtreme.OpenNxSerialization.Configuration.NxKnownSurrogateElementCollection.ElementName.html">ElementName</a></td><td width="50%"> Gets the name used to identify this collection of elements in the configuration file </td></tr>
<tr VALIGN="top"><td width="50%"><img src="protproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassEvaluationContextTopic.asp">EvaluationContext</a> (inherited from <b>ConfigurationElement</b>)</td><td width="50%">Gets the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationContextInformationClassTopic.asp">ContextInformation</a> object for the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassTopic.asp">ConfigurationElement</a> object.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="protproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassThrowOnDuplicateTopic.asp">ThrowOnDuplicate</a> (inherited from <b>ConfigurationElementCollection</b>)</td><td width="50%">Gets a value indicating whether an attempt to add a duplicate <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassTopic.asp">ConfigurationElement</a> to the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassTopic.asp">ConfigurationElementCollection</a> will cause an exception to be thrown.</td></tr></table>
      </div>
      <h4 class="dtH4">Protected Internal Instance Properties</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="intproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassAddElementNameTopic.asp">AddElementName</a> (inherited from <b>ConfigurationElementCollection</b>)</td><td width="50%">Gets or sets the name of the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassTopic.asp">ConfigurationElement</a> to associate with the add operation in the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassTopic.asp">ConfigurationElementCollection</a> when overridden in a derived class. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="intproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassClearElementNameTopic.asp">ClearElementName</a> (inherited from <b>ConfigurationElementCollection</b>)</td><td width="50%">Gets or sets the name for the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassTopic.asp">ConfigurationElement</a> to associate with the clear operation in the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassTopic.asp">ConfigurationElementCollection</a> when overridden in a derived class. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="intproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassElementPropertyTopic.asp">ElementProperty</a> (inherited from <b>ConfigurationElement</b>)</td><td width="50%">Gets the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementPropertyClassTopic.asp">ConfigurationElementProperty</a> object that represents the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassTopic.asp">ConfigurationElement</a> object itself.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="intproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassPropertiesTopic.asp">Properties</a> (inherited from <b>ConfigurationElement</b>)</td><td width="50%">Gets the collection of properties.</td></tr>
<tr VALIGN="top"><td width="50%"><img src="intproperty.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassRemoveElementNameTopic.asp">RemoveElementName</a> (inherited from <b>ConfigurationElementCollection</b>)</td><td width="50%">Gets or sets the name of the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementClassTopic.asp">ConfigurationElement</a> to associate with the remove operation in the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassTopic.asp">ConfigurationElementCollection</a> when overridden in a derived class. </td></tr></table>
      </div>
      <h4 class="dtH4">Explicit Interface Implementations</h4>
      <div class="tablediv">
        <table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="privmethod.gif"></img><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemConfigurationConfigurationElementCollectionClassICollectionCopyToTopic.asp">ICollection.CopyTo</a> (inherited from <b>ConfigurationElementCollection</b>)</td><td width="50%">�</td></tr></table>
      </div>
      <h4 class="dtH4">See Also</h4>
      <p>
        <a href="NeXtreme.OpenNxSerialization.Configuration.NxKnownSurrogateElementCollection.html">NxKnownSurrogateElementCollection Class</a> | <a href="NeXtreme.OpenNxSerialization.Configuration.html">NeXtreme.OpenNxSerialization.Configuration Namespace</a></p>
      <hr />
      <div id="footer">
        <p>
          <a href="mailto:alleey@gmail.com?subject=OpenNxSerialization%20API%20Reference%20Documentation%20Feedback:%20NxKnownSurrogateElementCollection�Properties">Send comments on this topic.</a>
        </p>
        <p>
          <a>Copyright (C) 2006 - 2007, NeXtreme Innovations. All rights reserved.</a>
        </p>
        <p>Generated from assembly NeXtreme.OpenNxSerialization.Configuration [1.0.0.0]</p>
      </div>
    </div>
  </body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Architect
Pakistan Pakistan
Let a = b ....... (1)
a - b = a - b
a^2 - ab = a^2 - ab
a^2 - ab = a^2 - b^2 (from 1)
a (a - b) = (a + b) (a - b)
a = (a + b) ...... (2)

if a = 1
1 = (1 + 1) (from 1 & 2)
1 = 2 !!

Comments and Discussions