Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Resources / StreamResourceInfo.cs / 1 / StreamResourceInfo.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // Class definition for StreamResourceInfo, it will keep the // information for a given stream resource, such as .jpg, .ico // etc. // // Spec: [....]/app/Navigation/Resource%20Loading%20Spec.doc // // History: // 03/24/2003: [....] Created // 06/12/2003: [....] Moved to WCP tree. // //--------------------------------------------------------------------------- using System.IO; using System; namespace System.Windows.Resources { ////// Class StreamResourceInfo /// public class StreamResourceInfo { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// default costructor /// public StreamResourceInfo() { } ////// constructor /// /// /// ///public StreamResourceInfo(Stream stream, String contentType) { _stream = stream; _contentType = contentType; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties /// /// ContentType /// public string ContentType { get { return _contentType; } } ////// Stream for the resource /// public Stream Stream { get { return _stream; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private string _contentType; private Stream _stream; #endregion Private Fields } ////// class ContentTypes /// public sealed class ContentTypes { ////// XamlContenType /// public const string XamlContentType = "applicaton/xaml+xml" ; } } // 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
- TextEditorTyping.cs
- Parameter.cs
- CssTextWriter.cs
- ComboBoxAutomationPeer.cs
- SqlUserDefinedAggregateAttribute.cs
- Calendar.cs
- EncoderExceptionFallback.cs
- ClassHandlersStore.cs
- TabItemAutomationPeer.cs
- ApplyImportsAction.cs
- XmlComplianceUtil.cs
- FileAuthorizationModule.cs
- NamespaceEmitter.cs
- TableProviderWrapper.cs
- oledbconnectionstring.cs
- SafeThemeHandle.cs
- ImageListStreamer.cs
- CapabilitiesState.cs
- XsdBuildProvider.cs
- ScriptingRoleServiceSection.cs
- ImageIndexConverter.cs
- InstanceLockException.cs
- MemoryRecordBuffer.cs
- WindowPattern.cs
- ProviderUtil.cs
- SHA384Managed.cs
- CacheEntry.cs
- PathHelper.cs
- ConnectionManagementElement.cs
- SizeAnimation.cs
- ProfilePropertyNameValidator.cs
- SqlProcedureAttribute.cs
- Form.cs
- SpeakCompletedEventArgs.cs
- OletxResourceManager.cs
- NumberAction.cs
- SimpleType.cs
- ObjectListCommandEventArgs.cs
- DashStyle.cs
- OracleTimeSpan.cs
- RsaSecurityTokenParameters.cs
- DateTimeFormatInfoScanner.cs
- ServiceManager.cs
- SettingsSection.cs
- FileUtil.cs
- DateTimePicker.cs
- MappingItemCollection.cs
- PartialList.cs
- PropertyEmitter.cs
- SerializationInfo.cs
- MasterPage.cs
- InfoCardBaseException.cs
- RadioButtonPopupAdapter.cs
- CategoryAttribute.cs
- WorkflowMarkupElementEventArgs.cs
- FontDriver.cs
- TextFindEngine.cs
- OrderByBuilder.cs
- ImageBrush.cs
- ListViewDataItem.cs
- FragmentQueryProcessor.cs
- DelegateBodyWriter.cs
- ContainerActivationHelper.cs
- Win32KeyboardDevice.cs
- SmtpMail.cs
- streamingZipPartStream.cs
- AsyncPostBackTrigger.cs
- Clock.cs
- MergablePropertyAttribute.cs
- DataGridRelationshipRow.cs
- DesignRelation.cs
- ProgressBar.cs
- BCryptHashAlgorithm.cs
- SqlSelectClauseBuilder.cs
- ping.cs
- BaseResourcesBuildProvider.cs
- VirtualDirectoryMapping.cs
- SymLanguageVendor.cs
- DataGridViewLayoutData.cs
- SchemaElementDecl.cs
- ManagementPath.cs
- BypassElementCollection.cs
- FloaterBaseParagraph.cs
- CommandEventArgs.cs
- TreeWalkHelper.cs
- XmlTypeMapping.cs
- DataListDesigner.cs
- Vector3DAnimation.cs
- ImmutableObjectAttribute.cs
- DbParameterCollection.cs
- ArraySegment.cs
- PageWrapper.cs
- HtmlInputCheckBox.cs
- WindowsTokenRoleProvider.cs
- FontInfo.cs
- IsolatedStorageException.cs
- EventBuilder.cs
- CurrentTimeZone.cs
- clipboard.cs
- XmlException.cs