Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx35 / System.ServiceModel.Web / System / ServiceModel / Channels / WebContentFormatHelper.cs / 1305376 / WebContentFormatHelper.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------
namespace System.ServiceModel.Channels
{
internal static class WebContentFormatHelper
{
internal static bool IsDefined(WebContentFormat format)
{
return (format == WebContentFormat.Default
|| format == WebContentFormat.Xml
|| format == WebContentFormat.Json
|| format == WebContentFormat.Raw);
}
}
}
// 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
- DataServiceKeyAttribute.cs
- SqlDependencyUtils.cs
- FixUp.cs
- HandlerWithFactory.cs
- TreeNodeBindingCollection.cs
- DelegatingHeader.cs
- Focus.cs
- CalendarBlackoutDatesCollection.cs
- ObservableCollection.cs
- ApplicationServiceManager.cs
- TextComposition.cs
- AdjustableArrowCap.cs
- ParserStreamGeometryContext.cs
- ReferenceSchema.cs
- DSGeneratorProblem.cs
- LocalValueEnumerator.cs
- TrustLevel.cs
- XmlConvert.cs
- ActivityScheduledQuery.cs
- RowToFieldTransformer.cs
- ContextMarshalException.cs
- Timeline.cs
- ClientUrlResolverWrapper.cs
- Math.cs
- CodeAttachEventStatement.cs
- FolderBrowserDialogDesigner.cs
- Message.cs
- QilFactory.cs
- SQlBooleanStorage.cs
- ValueTypeFixupInfo.cs
- RSACryptoServiceProvider.cs
- DocumentXmlWriter.cs
- ReaderContextStackData.cs
- SourceExpressionException.cs
- XmlAtomicValue.cs
- ServiceParser.cs
- SqlCacheDependencyDatabaseCollection.cs
- InstanceLockedException.cs
- EventDescriptorCollection.cs
- EncryptedPackageFilter.cs
- XmlSerializerVersionAttribute.cs
- PropertyChangedEventArgs.cs
- StateMachineHistory.cs
- PropertyItem.cs
- HttpWriter.cs
- wgx_exports.cs
- ObjRef.cs
- SoapEnumAttribute.cs
- VectorAnimationUsingKeyFrames.cs
- DictionarySectionHandler.cs
- EndOfStreamException.cs
- MSAANativeProvider.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- XmlBaseReader.cs
- webeventbuffer.cs
- WebPartActionVerb.cs
- Hash.cs
- Unit.cs
- WindowsTooltip.cs
- BypassElement.cs
- MenuItemStyleCollection.cs
- Int64Converter.cs
- NameService.cs
- SqlCacheDependencyDatabase.cs
- ScrollProperties.cs
- StaticExtension.cs
- ConstraintCollection.cs
- OracleBoolean.cs
- SqlCharStream.cs
- OutKeywords.cs
- RectAnimationClockResource.cs
- Operators.cs
- FigureParagraph.cs
- ContentFilePart.cs
- ApplicationDirectory.cs
- VariableAction.cs
- DynamicDataResources.Designer.cs
- SchemaManager.cs
- XmlSchemaExporter.cs
- EndpointDiscoveryMetadata.cs
- Funcletizer.cs
- ConfigurationManagerInternal.cs
- HttpStreamXmlDictionaryWriter.cs
- XsltCompileContext.cs
- UnsafeNetInfoNativeMethods.cs
- OperationPickerDialog.designer.cs
- NativeRecognizer.cs
- KnownBoxes.cs
- ObfuscationAttribute.cs
- SystemUnicastIPAddressInformation.cs
- EntityDataSourceDesigner.cs
- PathGeometry.cs
- Model3D.cs
- HttpCacheVaryByContentEncodings.cs
- CheckedListBox.cs
- DbConnectionStringBuilder.cs
- InputMethodStateTypeInfo.cs
- DesignerActionUI.cs
- ExpandSegment.cs
- ReflectionPermission.cs