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
- PropertyChangedEventArgs.cs
- AutoResetEvent.cs
- MatrixValueSerializer.cs
- EmbeddedMailObject.cs
- WsdlWriter.cs
- SchemaImporterExtensionElement.cs
- PerspectiveCamera.cs
- CollectionChangedEventManager.cs
- ToolStripItemTextRenderEventArgs.cs
- TreeNodeBindingDepthConverter.cs
- TextEncodedRawTextWriter.cs
- HttpServerUtilityBase.cs
- BindStream.cs
- InstancePersistenceContext.cs
- EmissiveMaterial.cs
- X509Certificate2.cs
- AsyncSerializedWorker.cs
- CachedBitmap.cs
- FillErrorEventArgs.cs
- _NestedMultipleAsyncResult.cs
- OpenTypeLayoutCache.cs
- ElementUtil.cs
- SerializationFieldInfo.cs
- DictionaryEntry.cs
- RangeValidator.cs
- LOSFormatter.cs
- EmptyElement.cs
- FileCodeGroup.cs
- ServiceHttpModule.cs
- CommonRemoteMemoryBlock.cs
- SpellerStatusTable.cs
- MimeReflector.cs
- mansign.cs
- PowerStatus.cs
- Condition.cs
- CustomError.cs
- ModuleElement.cs
- FileUtil.cs
- TagMapInfo.cs
- PageTheme.cs
- SelectedGridItemChangedEvent.cs
- WorkflowRuntimeService.cs
- Certificate.cs
- CodeTypeParameterCollection.cs
- MessageQueueInstaller.cs
- RightsManagementInformation.cs
- SendParametersContent.cs
- AndCondition.cs
- LocalizationParserHooks.cs
- InstanceCreationEditor.cs
- _SpnDictionary.cs
- ScriptServiceAttribute.cs
- Bits.cs
- RegexCompiler.cs
- ObjectQuery_EntitySqlExtensions.cs
- MediaPlayerState.cs
- OutputCacheSection.cs
- CallbackHandler.cs
- LicenseException.cs
- ParentQuery.cs
- DataGridViewLinkCell.cs
- DirectoryNotFoundException.cs
- CompositeDataBoundControl.cs
- PropertyCollection.cs
- MobileControlBuilder.cs
- BrowserInteropHelper.cs
- ArithmeticException.cs
- ThreadSafeList.cs
- HTTPAPI_VERSION.cs
- InstanceStore.cs
- printdlgexmarshaler.cs
- FixedTextView.cs
- CAGDesigner.cs
- TextRangeEditLists.cs
- ContentHostHelper.cs
- RegexInterpreter.cs
- HashCryptoHandle.cs
- PathParser.cs
- Serializer.cs
- XPathDocumentIterator.cs
- ButtonRenderer.cs
- DiagnosticTrace.cs
- CultureMapper.cs
- OwnerDrawPropertyBag.cs
- Attributes.cs
- TransformerTypeCollection.cs
- MappingSource.cs
- HtmlInputFile.cs
- RegexWriter.cs
- XmlConverter.cs
- CounterSample.cs
- InputScopeConverter.cs
- ListControlConvertEventArgs.cs
- ToolStripRendererSwitcher.cs
- WorkflowApplicationCompletedException.cs
- BoundField.cs
- ToolStripDropDownButton.cs
- WebPartManagerInternals.cs
- PhysicalFontFamily.cs
- ToolBarTray.cs