Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / MediaEntryAttribute.cs / 1305376 / MediaEntryAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Attribute to denote entity types describing a media entry // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; ////// This class marks a type that represents an Astoria client entity /// such that the Astoria client will treat it as a media entry /// according to ATOM's "media link entry" concept. /// [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public sealed class MediaEntryAttribute : Attribute { ///Name of the member that contains the data for the media entry private readonly string mediaMemberName; ////// Creates a new MediaEntryAttribute attribute and sets the name /// of the member that contains the actual data of the media entry /// (e.g. a byte[] containing a picture, a string containing HTML, etc.) /// /// Name of the member that contains the data for the media entry public MediaEntryAttribute(string mediaMemberName) { Util.CheckArgumentNull(mediaMemberName, "mediaMemberName"); this.mediaMemberName = mediaMemberName; } ///Name of the member that contains the data for the media entry public string MediaMemberName { get { return this.mediaMemberName; } } } } // 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
- DelegatingConfigHost.cs
- SettingsBindableAttribute.cs
- ArithmeticLiteral.cs
- NullableIntAverageAggregationOperator.cs
- BasicExpressionVisitor.cs
- Set.cs
- ExcludePathInfo.cs
- HighlightComponent.cs
- PlaceHolder.cs
- Stacktrace.cs
- coordinatorscratchpad.cs
- DataColumn.cs
- BaseParser.cs
- ToolboxBitmapAttribute.cs
- Tag.cs
- FastEncoderWindow.cs
- ReachSerializationCacheItems.cs
- ListViewItem.cs
- EventRoute.cs
- ClaimComparer.cs
- IdentityHolder.cs
- NetSectionGroup.cs
- ServiceContractGenerationContext.cs
- Tile.cs
- WindowsRegion.cs
- xdrvalidator.cs
- BufferedWebEventProvider.cs
- IPAddressCollection.cs
- OnOperation.cs
- MetafileEditor.cs
- ToolTipAutomationPeer.cs
- OuterGlowBitmapEffect.cs
- SafeSystemMetrics.cs
- SiteMapPath.cs
- SizeLimitedCache.cs
- AuthenticationModuleElementCollection.cs
- AuthenticationService.cs
- DecimalAnimationBase.cs
- SponsorHelper.cs
- SettingsPropertyWrongTypeException.cs
- InstalledFontCollection.cs
- DodSequenceMerge.cs
- SecurityKeyUsage.cs
- DefaultShape.cs
- VectorAnimationUsingKeyFrames.cs
- DataGridViewTopRowAccessibleObject.cs
- MetadataHelper.cs
- StringStorage.cs
- OutOfMemoryException.cs
- Utils.cs
- DbConnectionPoolOptions.cs
- ExtendedProtectionPolicy.cs
- Line.cs
- TdsValueSetter.cs
- PublishLicense.cs
- TreeNode.cs
- WebPartConnectionsCancelEventArgs.cs
- DataGridViewCellValueEventArgs.cs
- VisualStyleTypesAndProperties.cs
- FontFaceLayoutInfo.cs
- Point.cs
- ExternalCalls.cs
- OleDbConnectionInternal.cs
- GridViewDeleteEventArgs.cs
- SQLInt32.cs
- PackageFilter.cs
- AttributeConverter.cs
- diagnosticsswitches.cs
- RemotingConfiguration.cs
- PresentationSource.cs
- XmlSerializer.cs
- FastEncoderWindow.cs
- BroadcastEventHelper.cs
- FirewallWrapper.cs
- KeyInterop.cs
- FixedSOMSemanticBox.cs
- BindingNavigatorDesigner.cs
- DataGridViewAutoSizeModeEventArgs.cs
- StreamingContext.cs
- FilterQuery.cs
- DataContext.cs
- TransactionsSectionGroup.cs
- CollectionChangeEventArgs.cs
- ClientConfigurationSystem.cs
- SignatureResourcePool.cs
- TreeView.cs
- COM2TypeInfoProcessor.cs
- FontDialog.cs
- FixedPosition.cs
- LogPolicy.cs
- LoginView.cs
- NumericUpDownAcceleration.cs
- wgx_exports.cs
- AccessDataSource.cs
- TextRunCacheImp.cs
- SynchronizationLockException.cs
- TextFormatterContext.cs
- PropertyPathWorker.cs
- DbProviderManifest.cs
- HttpListenerContext.cs