Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / System / Windows / Markup / DateTimeValueSerializerContext.cs / 1305600 / DateTimeValueSerializerContext.cs
/****************************************************************************\ * * File: DateTimeValueSerializerContext.cs * \***************************************************************************/ using System.Globalization; using System.Text; using System.ComponentModel; namespace System.Windows.Markup { // This is a helper class used by the DateTimeConverter2 to call the DateTimeValueSerializer. // It provides no functionality. internal class DateTimeValueSerializerContext : IValueSerializerContext { public ValueSerializer GetValueSerializerFor(PropertyDescriptor descriptor) { return null; } public ValueSerializer GetValueSerializerFor(Type type) { return null; } public IContainer Container { get { return null; } } public object Instance { get { return null; } } public void OnComponentChanged() { } public bool OnComponentChanging() { return false; } public PropertyDescriptor PropertyDescriptor { get { return null; } } public object GetService(Type serviceType) { return null; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. /****************************************************************************\ * * File: DateTimeValueSerializerContext.cs * \***************************************************************************/ using System.Globalization; using System.Text; using System.ComponentModel; namespace System.Windows.Markup { // This is a helper class used by the DateTimeConverter2 to call the DateTimeValueSerializer. // It provides no functionality. internal class DateTimeValueSerializerContext : IValueSerializerContext { public ValueSerializer GetValueSerializerFor(PropertyDescriptor descriptor) { return null; } public ValueSerializer GetValueSerializerFor(Type type) { return null; } public IContainer Container { get { return null; } } public object Instance { get { return null; } } public void OnComponentChanged() { } public bool OnComponentChanging() { return false; } public PropertyDescriptor PropertyDescriptor { get { return null; } } public object GetService(Type serviceType) { return null; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UInt32Converter.cs
- ComponentCommands.cs
- QuaternionAnimation.cs
- DiscoveryDocumentSerializer.cs
- Authorization.cs
- CapabilitiesSection.cs
- DataSourceView.cs
- TaskSchedulerException.cs
- TextTreeTextNode.cs
- JoinGraph.cs
- XamlWriter.cs
- XmlSchemaObjectCollection.cs
- TableHeaderCell.cs
- XPathDocumentNavigator.cs
- TypeDescriptor.cs
- AxisAngleRotation3D.cs
- ClonableStack.cs
- TdsParserStateObject.cs
- QuaternionKeyFrameCollection.cs
- InvalidWorkflowException.cs
- UnmanagedMemoryStream.cs
- AssemblyNameProxy.cs
- SelectionPattern.cs
- XmlSerializationGeneratedCode.cs
- GridLength.cs
- ProfilePropertyNameValidator.cs
- Models.cs
- RequestCacheEntry.cs
- Delegate.cs
- DetailsViewUpdateEventArgs.cs
- ResolveCriteriaApril2005.cs
- basenumberconverter.cs
- JoinElimination.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- ColumnBinding.cs
- DataGridViewColumn.cs
- PriorityBinding.cs
- AttachmentCollection.cs
- CompositeScriptReferenceEventArgs.cs
- BuiltInExpr.cs
- PriorityChain.cs
- WebMessageEncodingElement.cs
- BinarySecretSecurityToken.cs
- XmlSchema.cs
- XPathMultyIterator.cs
- XmlQueryOutput.cs
- DivideByZeroException.cs
- FileChangesMonitor.cs
- ObjectMemberMapping.cs
- BitmapSourceSafeMILHandle.cs
- CompilerCollection.cs
- DataGridCell.cs
- ExpressionBindingCollection.cs
- XamlTypeMapperSchemaContext.cs
- ToolStrip.cs
- MultipleViewProviderWrapper.cs
- HiddenField.cs
- ContractReference.cs
- PageContent.cs
- AccessControlList.cs
- ToolStripPanelRenderEventArgs.cs
- OletxTransactionHeader.cs
- StoryFragments.cs
- UnsafeNativeMethods.cs
- TypeReference.cs
- ReturnEventArgs.cs
- EdmComplexPropertyAttribute.cs
- ObjectDataSourceFilteringEventArgs.cs
- BinaryNode.cs
- TypeGeneratedEventArgs.cs
- EntityTransaction.cs
- ToolStripDropDownButton.cs
- Single.cs
- Control.cs
- EqualityComparer.cs
- SortKey.cs
- LoadRetryAsyncResult.cs
- DataShape.cs
- DataFieldConverter.cs
- TabPanel.cs
- MemberAccessException.cs
- SponsorHelper.cs
- HashLookup.cs
- LinqDataSourceContextEventArgs.cs
- ObjectManager.cs
- Hex.cs
- LinkTarget.cs
- EntityProviderServices.cs
- WebPartCatalogAddVerb.cs
- PolicyStatement.cs
- CodePageEncoding.cs
- Typography.cs
- CatchDesigner.xaml.cs
- SoundPlayer.cs
- Table.cs
- RtfFormatStack.cs
- XmlSerializationWriter.cs
- NameScope.cs
- DataGridRelationshipRow.cs
- ObjectDataSourceEventArgs.cs