Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Base / System / Windows / Markup / DateTimeValueSerializerContext.cs / 1 / 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
- CurrentTimeZone.cs
- FilteredXmlReader.cs
- wgx_commands.cs
- ViewPort3D.cs
- TextLineResult.cs
- SoapMessage.cs
- LongCountAggregationOperator.cs
- AssemblyCacheEntry.cs
- CheckedListBox.cs
- SizeFConverter.cs
- EntityDataSourceWizardForm.cs
- Typeface.cs
- RequestQueue.cs
- StreamUpdate.cs
- ItemDragEvent.cs
- DataGridViewCellFormattingEventArgs.cs
- OutputScopeManager.cs
- SimpleApplicationHost.cs
- cookiecollection.cs
- HeaderPanel.cs
- NullReferenceException.cs
- RemoteWebConfigurationHostStream.cs
- FixedSOMElement.cs
- XmlNotation.cs
- LoginUtil.cs
- Camera.cs
- AssemblyResourceLoader.cs
- LogicalMethodInfo.cs
- FontCacheUtil.cs
- AssertFilter.cs
- ShutDownListener.cs
- IndexedWhereQueryOperator.cs
- IndexedSelectQueryOperator.cs
- ArgumentException.cs
- WriteTimeStream.cs
- PropertyGrid.cs
- MemoryFailPoint.cs
- SQLSingle.cs
- DoubleSumAggregationOperator.cs
- RawStylusInputReport.cs
- CodeArgumentReferenceExpression.cs
- ListChangedEventArgs.cs
- DataGridViewCellLinkedList.cs
- Point3DCollection.cs
- ReflectionPermission.cs
- PeerApplication.cs
- WorkflowServiceHostFactory.cs
- WaitForChangedResult.cs
- ReflectionTypeLoadException.cs
- ManipulationPivot.cs
- XPathMessageContext.cs
- ConfigurationPropertyAttribute.cs
- AttributeConverter.cs
- XmlCDATASection.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- metrodevice.cs
- PrivateFontCollection.cs
- TextWriterTraceListener.cs
- TableNameAttribute.cs
- CompositeCollection.cs
- HtmlElement.cs
- smtpconnection.cs
- AlignmentYValidation.cs
- ColumnMap.cs
- BamlRecordHelper.cs
- CodeEntryPointMethod.cs
- WebPartCatalogAddVerb.cs
- DSASignatureFormatter.cs
- EncryptedPackageFilter.cs
- RemotingConfigParser.cs
- AnnotationResourceCollection.cs
- CharacterHit.cs
- PathFigureCollectionConverter.cs
- EmptyEnumerable.cs
- WeakReadOnlyCollection.cs
- BuildProvider.cs
- TableLayoutColumnStyleCollection.cs
- TemplateComponentConnector.cs
- PerformanceCounter.cs
- RectAnimation.cs
- PrintPreviewDialog.cs
- HelloMessageApril2005.cs
- GifBitmapDecoder.cs
- GridSplitter.cs
- UrlPropertyAttribute.cs
- AmbiguousMatchException.cs
- XmlNodeWriter.cs
- InvalidEnumArgumentException.cs
- StoreItemCollection.cs
- GB18030Encoding.cs
- InternalDispatchObject.cs
- Axis.cs
- SendingRequestEventArgs.cs
- SvcMapFile.cs
- Control.cs
- XmlTextEncoder.cs
- TypeInitializationException.cs
- HtmlInputButton.cs
- PropertyPath.cs
- EdmToObjectNamespaceMap.cs