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
- SID.cs
- ParameterBuilder.cs
- Activity.cs
- Permission.cs
- _ProxyChain.cs
- WebBaseEventKeyComparer.cs
- BaseDataBoundControlDesigner.cs
- PointHitTestParameters.cs
- ToolStripContainer.cs
- SelectorAutomationPeer.cs
- ActiveXHelper.cs
- XmlSchemaDatatype.cs
- StylusTip.cs
- Guid.cs
- InstanceDescriptor.cs
- Claim.cs
- AlgoModule.cs
- SymLanguageVendor.cs
- TemplateColumn.cs
- UriScheme.cs
- TemplateBamlRecordReader.cs
- PagesSection.cs
- InheritedPropertyDescriptor.cs
- SamlAssertion.cs
- ContractNamespaceAttribute.cs
- ZipIOLocalFileBlock.cs
- ValidatedControlConverter.cs
- SecurityTokenAuthenticator.cs
- TextElementEnumerator.cs
- StatusBarAutomationPeer.cs
- RuleSetBrowserDialog.cs
- Aggregates.cs
- ThreadInterruptedException.cs
- ToolstripProfessionalRenderer.cs
- EmptyElement.cs
- ParseElementCollection.cs
- SeekableReadStream.cs
- XmlSchemaObjectTable.cs
- SystemIPv6InterfaceProperties.cs
- InkCanvasFeedbackAdorner.cs
- MultiTargetingUtil.cs
- TextElement.cs
- RelationalExpressions.cs
- AstTree.cs
- TokenizerHelper.cs
- QueryAccessibilityHelpEvent.cs
- DefinitionUpdate.cs
- SQLInt32.cs
- AutomationElementCollection.cs
- GridEntryCollection.cs
- Visitor.cs
- DiagnosticTraceRecords.cs
- WebBaseEventKeyComparer.cs
- SupportingTokenListenerFactory.cs
- ItemCollection.cs
- ConnectionManagementSection.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- XmlAttributeHolder.cs
- SoapExtensionReflector.cs
- ViewStateModeByIdAttribute.cs
- SessionStateUtil.cs
- IsolatedStorageFileStream.cs
- DebugHandleTracker.cs
- Zone.cs
- EFTableProvider.cs
- ByteStack.cs
- DataServices.cs
- BamlLocalizationDictionary.cs
- SqlRemoveConstantOrderBy.cs
- HtmlImage.cs
- MatrixTransform3D.cs
- HitTestWithPointDrawingContextWalker.cs
- CustomAssemblyResolver.cs
- BooleanFacetDescriptionElement.cs
- TemplatedMailWebEventProvider.cs
- XmlSchemaExporter.cs
- WebServiceEnumData.cs
- CodeIdentifier.cs
- ContractMapping.cs
- ImageAnimator.cs
- odbcmetadatacollectionnames.cs
- ToolboxItem.cs
- CatalogZoneBase.cs
- TokenizerHelper.cs
- ValidatedControlConverter.cs
- NamedPipeConnectionPoolSettings.cs
- RoutedEventHandlerInfo.cs
- Renderer.cs
- GlobalizationAssembly.cs
- TailCallAnalyzer.cs
- XmlRawWriter.cs
- EntityFunctions.cs
- DataSvcMapFileSerializer.cs
- InteropBitmapSource.cs
- documentsequencetextcontainer.cs
- SQLStringStorage.cs
- ReflectPropertyDescriptor.cs
- SiteMapNode.cs
- BindingWorker.cs
- HttpHandlersSection.cs