Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / Configuration / SerializationSectionGroup.cs / 1305376 / SerializationSectionGroup.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Runtime.Serialization.Configuration { using System.Configuration; public sealed class SerializationSectionGroup : ConfigurationSectionGroup { static public SerializationSectionGroup GetSectionGroup(Configuration config) { if (config == null) { throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("config"); } #pragma warning suppress 56506 // [....], config is checked above return (SerializationSectionGroup)config.SectionGroups[ConfigurationStrings.SectionGroupName]; } public DataContractSerializerSection DataContractSerializer { get { return (DataContractSerializerSection)this.Sections[ConfigurationStrings.DataContractSerializerSectionName]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Runtime.Serialization.Configuration { using System.Configuration; public sealed class SerializationSectionGroup : ConfigurationSectionGroup { static public SerializationSectionGroup GetSectionGroup(Configuration config) { if (config == null) { throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("config"); } #pragma warning suppress 56506 // [....], config is checked above return (SerializationSectionGroup)config.SectionGroups[ConfigurationStrings.SectionGroupName]; } public DataContractSerializerSection DataContractSerializer { get { return (DataContractSerializerSection)this.Sections[ConfigurationStrings.DataContractSerializerSectionName]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GrammarBuilderRuleRef.cs
- XmlRawWriterWrapper.cs
- DataGridColumnReorderingEventArgs.cs
- PerformanceCounter.cs
- StandardCommands.cs
- SqlDataSourceEnumerator.cs
- AlphabeticalEnumConverter.cs
- ReferencedAssembly.cs
- HtmlEmptyTagControlBuilder.cs
- InputBinding.cs
- OleServicesContext.cs
- RecordManager.cs
- ScriptServiceAttribute.cs
- DynamicRenderer.cs
- StorageScalarPropertyMapping.cs
- MethodBody.cs
- SqlStream.cs
- LogRecordSequence.cs
- SQLGuidStorage.cs
- SafeIUnknown.cs
- LayoutEngine.cs
- EventMappingSettingsCollection.cs
- MemoryRecordBuffer.cs
- UnknownBitmapDecoder.cs
- TextRunCache.cs
- TextCollapsingProperties.cs
- FixedSOMTableCell.cs
- QueryValue.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- BooleanProjectedSlot.cs
- Quad.cs
- SpellCheck.cs
- BooleanFunctions.cs
- CustomValidator.cs
- DbConnectionInternal.cs
- InternalBase.cs
- TypeExtensions.cs
- SafeNativeMethodsCLR.cs
- KnownTypesProvider.cs
- AnimationTimeline.cs
- BezierSegment.cs
- IntSecurity.cs
- MenuItemStyleCollectionEditor.cs
- XmlSerializerVersionAttribute.cs
- TrackingServices.cs
- StylusPlugInCollection.cs
- DbConnectionPoolGroup.cs
- SynchronizedDispatch.cs
- ListItemsPage.cs
- TableItemStyle.cs
- LassoSelectionBehavior.cs
- Parsers.cs
- OleDbRowUpdatingEvent.cs
- Rotation3DAnimation.cs
- LinkClickEvent.cs
- NumericPagerField.cs
- DataGridSortCommandEventArgs.cs
- FormatSettings.cs
- DaylightTime.cs
- ActiveXSite.cs
- TypedAsyncResult.cs
- GenericIdentity.cs
- JulianCalendar.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SvcMapFile.cs
- ListSurrogate.cs
- SHA1.cs
- Win32NamedPipes.cs
- UpnEndpointIdentityExtension.cs
- RadioButtonList.cs
- Mappings.cs
- X509CertificateValidationMode.cs
- Exception.cs
- DeploymentExceptionMapper.cs
- ListViewItemEventArgs.cs
- CheckBox.cs
- ConnectionStringSettingsCollection.cs
- InvalidAsynchronousStateException.cs
- VectorCollectionConverter.cs
- CheckBoxAutomationPeer.cs
- ErrorsHelper.cs
- AddIn.cs
- SiblingIterators.cs
- SqlUtils.cs
- CacheManager.cs
- IdleTimeoutMonitor.cs
- RepeatBehavior.cs
- SelectionService.cs
- XPathDocumentNavigator.cs
- UIntPtr.cs
- DiscoveryReference.cs
- NumberFormatter.cs
- AudioLevelUpdatedEventArgs.cs
- OdbcDataReader.cs
- DatatypeImplementation.cs
- _SecureChannel.cs
- DesignerDataColumn.cs
- NativeWindow.cs
- ServicePointManagerElement.cs
- PrimitiveDataContract.cs