Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- HttpListenerResponse.cs
- PasswordDeriveBytes.cs
- XmlExtensionFunction.cs
- ReferentialConstraint.cs
- ColumnBinding.cs
- WinEventHandler.cs
- EditingCoordinator.cs
- ConfigurationElement.cs
- ProfilePropertySettings.cs
- AccessText.cs
- TypeListConverter.cs
- FormParameter.cs
- ProviderSettingsCollection.cs
- ToolStripOverflow.cs
- Stack.cs
- QuaternionAnimation.cs
- TextDecorationLocationValidation.cs
- SessionStateItemCollection.cs
- ModelItemDictionaryImpl.cs
- AttachedPropertyBrowsableAttribute.cs
- ReferenceConverter.cs
- Win32SafeHandles.cs
- DbConnectionClosed.cs
- TextServicesCompartment.cs
- VBIdentifierName.cs
- LinqDataSourceDisposeEventArgs.cs
- SerializableAttribute.cs
- BitVector32.cs
- RequestCacheValidator.cs
- RegexGroupCollection.cs
- StringKeyFrameCollection.cs
- XmlSchemaProviderAttribute.cs
- Boolean.cs
- ServiceCredentialsSecurityTokenManager.cs
- BitmapEffectDrawingContextState.cs
- MessageSmuggler.cs
- FileSystemWatcher.cs
- TagPrefixCollection.cs
- MailSettingsSection.cs
- TextTreeObjectNode.cs
- FtpCachePolicyElement.cs
- ReflectionPermission.cs
- Oid.cs
- SchemaMapping.cs
- StdRegProviderWrapper.cs
- ConsumerConnectionPoint.cs
- Operator.cs
- Identity.cs
- GridErrorDlg.cs
- DataGridViewButtonCell.cs
- WebPartConnectionsCancelEventArgs.cs
- TopClause.cs
- CodeIterationStatement.cs
- TransactionScope.cs
- UshortList2.cs
- AmbientValueAttribute.cs
- TransactionScope.cs
- InternalConfigRoot.cs
- FlatButtonAppearance.cs
- ServerIdentity.cs
- CustomErrorCollection.cs
- DataBindingsDialog.cs
- ContainerActivationHelper.cs
- ExpressionConverter.cs
- SQLDateTimeStorage.cs
- BufferedGraphicsContext.cs
- PreviewKeyDownEventArgs.cs
- BamlBinaryReader.cs
- DynamicRendererThreadManager.cs
- XComponentModel.cs
- Object.cs
- AsyncResult.cs
- SiteMapHierarchicalDataSourceView.cs
- MailAddressCollection.cs
- SqlDataSourceCommandEventArgs.cs
- PlanCompilerUtil.cs
- ElementsClipboardData.cs
- RuleRefElement.cs
- ResXResourceWriter.cs
- NativeMethods.cs
- ObjectQueryProvider.cs
- ListCollectionView.cs
- ColumnBinding.cs
- InternalDispatchObject.cs
- CqlIdentifiers.cs
- CodeEventReferenceExpression.cs
- TextCollapsingProperties.cs
- SafeMILHandleMemoryPressure.cs
- DataMisalignedException.cs
- DigitShape.cs
- ApplicationInfo.cs
- ReadOnlyDictionary.cs
- EventToken.cs
- ByteAnimation.cs
- SecurityRuntime.cs
- WindowsToolbarAsMenu.cs
- METAHEADER.cs
- CatalogPart.cs
- MostlySingletonList.cs
- HealthMonitoringSectionHelper.cs