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
- WorkflowHostingEndpoint.cs
- ToolTipAutomationPeer.cs
- ActivityDesignerResources.cs
- FileLoadException.cs
- LocalValueEnumerator.cs
- ProcessHost.cs
- TimerElapsedEvenArgs.cs
- XPathBinder.cs
- _SingleItemRequestCache.cs
- WorkflowQueuingService.cs
- Listener.cs
- StylusPointProperties.cs
- TextWriter.cs
- RuntimeHelpers.cs
- SizeValueSerializer.cs
- ClosableStream.cs
- DataRow.cs
- TypeHelpers.cs
- SourceFilter.cs
- ToolboxDataAttribute.cs
- DatasetMethodGenerator.cs
- CuspData.cs
- DependencyPropertyHelper.cs
- SupportsEventValidationAttribute.cs
- CommandEventArgs.cs
- ComAdminWrapper.cs
- XmlCountingReader.cs
- MenuCommand.cs
- Point3DCollection.cs
- listitem.cs
- TextEditorTables.cs
- FormParameter.cs
- ToolStripGripRenderEventArgs.cs
- SafeWaitHandle.cs
- StringHandle.cs
- TraceXPathNavigator.cs
- StateMachineHelpers.cs
- Int32AnimationBase.cs
- TransactionsSectionGroup.cs
- MimeReturn.cs
- BamlRecordReader.cs
- EmptyStringExpandableObjectConverter.cs
- TraceFilter.cs
- TrackingDataItem.cs
- ActiveXSite.cs
- RC2.cs
- DataGridPageChangedEventArgs.cs
- BlockCollection.cs
- PersianCalendar.cs
- DataGridToolTip.cs
- EventMappingSettingsCollection.cs
- Monitor.cs
- SecurityDocument.cs
- ResourceReader.cs
- PreProcessor.cs
- BuilderPropertyEntry.cs
- ParallelTimeline.cs
- CannotUnloadAppDomainException.cs
- DocumentSchemaValidator.cs
- NotificationContext.cs
- RubberbandSelector.cs
- CoTaskMemHandle.cs
- WindowsGraphics.cs
- ItemType.cs
- KeyboardNavigation.cs
- SignedInfo.cs
- JoinSymbol.cs
- MetaModel.cs
- BindValidationContext.cs
- AccessedThroughPropertyAttribute.cs
- ObjectStateEntry.cs
- Substitution.cs
- CharUnicodeInfo.cs
- HtmlLiteralTextAdapter.cs
- TypeDescriptionProvider.cs
- SecurityProtocol.cs
- InternalBase.cs
- DynamicControl.cs
- SemanticAnalyzer.cs
- LocalFileSettingsProvider.cs
- DelegatingConfigHost.cs
- Thread.cs
- SafeRightsManagementHandle.cs
- MetafileHeader.cs
- BinaryMethodMessage.cs
- WmlPanelAdapter.cs
- ByteFacetDescriptionElement.cs
- ObfuscationAttribute.cs
- SerializerProvider.cs
- ResourcesBuildProvider.cs
- WorkflowExecutor.cs
- TextEffectCollection.cs
- lengthconverter.cs
- ConfigurationManagerHelperFactory.cs
- TextServicesDisplayAttributePropertyRanges.cs
- TablePattern.cs
- SystemIPInterfaceProperties.cs
- VisualTransition.cs
- CompiledXpathExpr.cs
- MarkedHighlightComponent.cs