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
- RepeaterCommandEventArgs.cs
- Version.cs
- Parameter.cs
- StorageEndPropertyMapping.cs
- IsolatedStorageException.cs
- ReadOnlyDictionary.cs
- SystemMulticastIPAddressInformation.cs
- AttachmentCollection.cs
- ToolStripLabel.cs
- TemplateXamlParser.cs
- ShapeTypeface.cs
- MappedMetaModel.cs
- ImagingCache.cs
- NetNamedPipeBindingElement.cs
- SqlInternalConnectionTds.cs
- MetadataArtifactLoaderComposite.cs
- SchemaImporterExtensionElement.cs
- AsymmetricKeyExchangeFormatter.cs
- ISAPIWorkerRequest.cs
- TextContainerHelper.cs
- OperatorExpressions.cs
- JournalEntryListConverter.cs
- ProjectedSlot.cs
- ExchangeUtilities.cs
- SqlCommandSet.cs
- AlphabeticalEnumConverter.cs
- X509UI.cs
- DataObjectMethodAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- EventProviderBase.cs
- TransportSecurityProtocol.cs
- SoapSchemaMember.cs
- UnsafeMethods.cs
- WinFormsUtils.cs
- TdsRecordBufferSetter.cs
- TraceSource.cs
- DataSourceXmlSubItemAttribute.cs
- TemplateBuilder.cs
- MDIControlStrip.cs
- CompressionTransform.cs
- ChildrenQuery.cs
- CacheForPrimitiveTypes.cs
- PanelStyle.cs
- QueryOutputWriter.cs
- BasicExpandProvider.cs
- Size3D.cs
- DoubleAverageAggregationOperator.cs
- DesignerTransactionCloseEvent.cs
- XDRSchema.cs
- FastEncoderStatics.cs
- XhtmlBasicListAdapter.cs
- XmlMapping.cs
- EntityDataSourceQueryBuilder.cs
- FormatSettings.cs
- BrowserCapabilitiesCodeGenerator.cs
- DataObjectCopyingEventArgs.cs
- Span.cs
- MaskedTextBoxDesigner.cs
- SmtpException.cs
- ObfuscationAttribute.cs
- TextEditor.cs
- CutCopyPasteHelper.cs
- TrackingMemoryStreamFactory.cs
- GacUtil.cs
- ElementUtil.cs
- InvokeBase.cs
- CompoundFileStorageReference.cs
- XmlSchemaParticle.cs
- Label.cs
- QilName.cs
- ClientSideQueueItem.cs
- Component.cs
- InvalidOperationException.cs
- BrowserCapabilitiesCodeGenerator.cs
- Nullable.cs
- ValidationResults.cs
- TextRunTypographyProperties.cs
- SmtpClient.cs
- BaseTemplateBuildProvider.cs
- GeometryGroup.cs
- BookmarkUndoUnit.cs
- FixedTextPointer.cs
- BoundPropertyEntry.cs
- PaintEvent.cs
- VisualStyleElement.cs
- TimeSpanOrInfiniteValidator.cs
- RegexCode.cs
- FocusWithinProperty.cs
- SessionStateModule.cs
- FloaterBaseParagraph.cs
- WindowsRichEditRange.cs
- WebPartConnectionsCancelEventArgs.cs
- TypeElement.cs
- AnnotationDocumentPaginator.cs
- ResXResourceWriter.cs
- Math.cs
- RegexRunner.cs
- XmlObjectSerializerReadContext.cs
- IUnknownConstantAttribute.cs
- CounterCreationData.cs