Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / ImportOptions.cs / 1305376 / ImportOptions.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Serialization { using System; using System.Collections.Generic; using System.Reflection; using System.Security; using System.Security.Permissions; using System.CodeDom.Compiler; public class ImportOptions { bool generateSerializable; bool generateInternal; bool enableDataBinding; CodeDomProvider codeProvider; ICollectionreferencedTypes; ICollection referencedCollectionTypes; IDictionary namespaces; bool importXmlType; IDataContractSurrogate dataContractSurrogate; public bool GenerateSerializable { get { return generateSerializable; } set { generateSerializable = value; } } public bool GenerateInternal { get { return generateInternal; } set { generateInternal = value; } } public bool EnableDataBinding { get {return enableDataBinding;} set {enableDataBinding = value;} } public CodeDomProvider CodeProvider { get { return codeProvider; } set { codeProvider = value; } } public ICollection ReferencedTypes { get { if (referencedTypes == null) { referencedTypes = new List (); } return referencedTypes; } } public ICollection ReferencedCollectionTypes { get { if (referencedCollectionTypes == null) { referencedCollectionTypes = new List (); } return referencedCollectionTypes; } } public IDictionary Namespaces { get { if (namespaces == null) { namespaces = new Dictionary (); } return namespaces; } } public bool ImportXmlType { get { return importXmlType;} set { importXmlType = value;} } public IDataContractSurrogate DataContractSurrogate { get { return dataContractSurrogate;} set { dataContractSurrogate = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.Serialization { using System; using System.Collections.Generic; using System.Reflection; using System.Security; using System.Security.Permissions; using System.CodeDom.Compiler; public class ImportOptions { bool generateSerializable; bool generateInternal; bool enableDataBinding; CodeDomProvider codeProvider; ICollection referencedTypes; ICollection referencedCollectionTypes; IDictionary namespaces; bool importXmlType; IDataContractSurrogate dataContractSurrogate; public bool GenerateSerializable { get { return generateSerializable; } set { generateSerializable = value; } } public bool GenerateInternal { get { return generateInternal; } set { generateInternal = value; } } public bool EnableDataBinding { get {return enableDataBinding;} set {enableDataBinding = value;} } public CodeDomProvider CodeProvider { get { return codeProvider; } set { codeProvider = value; } } public ICollection ReferencedTypes { get { if (referencedTypes == null) { referencedTypes = new List (); } return referencedTypes; } } public ICollection ReferencedCollectionTypes { get { if (referencedCollectionTypes == null) { referencedCollectionTypes = new List (); } return referencedCollectionTypes; } } public IDictionary Namespaces { get { if (namespaces == null) { namespaces = new Dictionary (); } return namespaces; } } public bool ImportXmlType { get { return importXmlType;} set { importXmlType = value;} } public IDataContractSurrogate DataContractSurrogate { get { return dataContractSurrogate;} set { dataContractSurrogate = value; } } } } // 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
- BitStack.cs
- OleStrCAMarshaler.cs
- DataGridViewCellConverter.cs
- RelationshipEndMember.cs
- QilXmlReader.cs
- DataSourceNameHandler.cs
- WebServiceErrorEvent.cs
- XPathAxisIterator.cs
- ModifierKeysValueSerializer.cs
- Bits.cs
- HttpModulesSection.cs
- DebugView.cs
- TabItemWrapperAutomationPeer.cs
- StoreItemCollection.Loader.cs
- FieldCollectionEditor.cs
- BorderGapMaskConverter.cs
- UIInitializationException.cs
- SecurityState.cs
- SpellCheck.cs
- ToolStripContainerActionList.cs
- GlobalItem.cs
- TablePatternIdentifiers.cs
- CodeAttributeDeclaration.cs
- ResourceExpressionBuilder.cs
- MetadataItemCollectionFactory.cs
- TagPrefixAttribute.cs
- CodeCatchClauseCollection.cs
- LocalizableAttribute.cs
- LoopExpression.cs
- JsonFormatWriterGenerator.cs
- HtmlAnchor.cs
- CodeCatchClauseCollection.cs
- StateItem.cs
- SafeReadContext.cs
- ComplexBindingPropertiesAttribute.cs
- CodeGenerator.cs
- BooleanKeyFrameCollection.cs
- PersonalizationEntry.cs
- WithStatement.cs
- QueryRelOp.cs
- SslStream.cs
- AuthorizationContext.cs
- TableItemStyle.cs
- GlyphElement.cs
- OdbcHandle.cs
- NameValueConfigurationCollection.cs
- DocumentsTrace.cs
- DataTableReader.cs
- ControlParameter.cs
- _Win32.cs
- StatusStrip.cs
- UnauthorizedAccessException.cs
- DateTimeHelper.cs
- NonNullItemCollection.cs
- RegexReplacement.cs
- SystemInfo.cs
- lengthconverter.cs
- PropertyMetadata.cs
- ControlPaint.cs
- FontStretchConverter.cs
- Page.cs
- HttpCookiesSection.cs
- AssemblyNameProxy.cs
- Int32RectConverter.cs
- DataQuery.cs
- XmlSequenceWriter.cs
- ManifestSignatureInformation.cs
- TextBreakpoint.cs
- Comparer.cs
- ExpressionNode.cs
- XmlSerializerImportOptions.cs
- TableDetailsRow.cs
- NotFiniteNumberException.cs
- GlyphingCache.cs
- LocalizationComments.cs
- Propagator.Evaluator.cs
- CrossContextChannel.cs
- CatalogPart.cs
- DataSourceNameHandler.cs
- XmlTextReaderImpl.cs
- KnownBoxes.cs
- DocumentApplicationJournalEntry.cs
- ObjectStateFormatter.cs
- ParagraphResult.cs
- ViewLoader.cs
- base64Transforms.cs
- NetCodeGroup.cs
- SerializationException.cs
- CurrentChangedEventManager.cs
- DelimitedListTraceListener.cs
- CapabilitiesPattern.cs
- DistributedTransactionPermission.cs
- ErrorActivity.cs
- TextContainer.cs
- RepeatButton.cs
- CapabilitiesRule.cs
- StringFormat.cs
- OdbcInfoMessageEvent.cs
- HeaderedItemsControl.cs
- SamlAuthorityBinding.cs