Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / SystemResourceHost.cs / 1 / SystemResourceHost.cs
//--------------------------------------------------------------------------------
//
// File: SystemResourceHost.cs
//
// Description: Object supplied as the source when the resource is fetched from the SystemResources
//
// Created: 06/23/2005
//
// Copyright (C) 2004 by Microsoft Corporation. All rights reserved.
//
// History:
// fmunoz 06/23/2005 Created
//-------------------------------------------------------------------------------
using System;
namespace System.Windows
{
///
internal sealed class SystemResourceHost
{
//prevent creation
private SystemResourceHost()
{
}
static internal SystemResourceHost Instance
{
get
{
if (_instance == null)
{
_instance = new SystemResourceHost();
}
return _instance;
}
}
static private SystemResourceHost _instance;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------------
//
// File: SystemResourceHost.cs
//
// Description: Object supplied as the source when the resource is fetched from the SystemResources
//
// Created: 06/23/2005
//
// Copyright (C) 2004 by Microsoft Corporation. All rights reserved.
//
// History:
// fmunoz 06/23/2005 Created
//-------------------------------------------------------------------------------
using System;
namespace System.Windows
{
///
internal sealed class SystemResourceHost
{
//prevent creation
private SystemResourceHost()
{
}
static internal SystemResourceHost Instance
{
get
{
if (_instance == null)
{
_instance = new SystemResourceHost();
}
return _instance;
}
}
static private SystemResourceHost _instance;
}
}
// 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
- Encoder.cs
- ListViewItemMouseHoverEvent.cs
- TextHintingModeValidation.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ConfigLoader.cs
- KnowledgeBase.cs
- ApplicationDirectory.cs
- OdbcConnectionHandle.cs
- StringFunctions.cs
- BitmapFrameDecode.cs
- ByteAnimationUsingKeyFrames.cs
- XmlNode.cs
- StandardOleMarshalObject.cs
- PolicyVersionConverter.cs
- ExternalCalls.cs
- NetMsmqSecurityMode.cs
- AdCreatedEventArgs.cs
- VoiceInfo.cs
- FontStretch.cs
- DataGridParentRows.cs
- IApplicationTrustManager.cs
- ImageIndexConverter.cs
- OLEDB_Util.cs
- IntegerValidator.cs
- ThreadPoolTaskScheduler.cs
- WorkflowServiceHostFactory.cs
- CompilationSection.cs
- CheckBoxFlatAdapter.cs
- SafeProcessHandle.cs
- SemanticBasicElement.cs
- AlignmentYValidation.cs
- HierarchicalDataBoundControl.cs
- Int16.cs
- PhysicalAddress.cs
- Base64Encoder.cs
- GroupBoxRenderer.cs
- QueryGeneratorBase.cs
- DataGridViewCellValueEventArgs.cs
- GridErrorDlg.cs
- DeviceSpecificChoiceCollection.cs
- TextInfo.cs
- CompModSwitches.cs
- ClientConfigPaths.cs
- FacetValues.cs
- Stack.cs
- RenderContext.cs
- IndexedEnumerable.cs
- EventLogPermissionEntryCollection.cs
- WinInetCache.cs
- RoleGroupCollectionEditor.cs
- PermissionSetEnumerator.cs
- DataSourceSelectArguments.cs
- DynamicExpression.cs
- InitializingNewItemEventArgs.cs
- RemoteArgument.cs
- SpanIndex.cs
- TerminatorSinks.cs
- SecurityPermission.cs
- NativeCppClassAttribute.cs
- DesignTimeTemplateParser.cs
- XmlAtomicValue.cs
- BatchStream.cs
- StateBag.cs
- CompoundFileStorageReference.cs
- ListItemCollection.cs
- FocusManager.cs
- XmlDictionaryString.cs
- HttpModuleAction.cs
- JsonWriterDelegator.cs
- TypeUtils.cs
- HandlerWithFactory.cs
- HealthMonitoringSection.cs
- EFAssociationProvider.cs
- ArrayWithOffset.cs
- DefaultValueTypeConverter.cs
- TableLayoutColumnStyleCollection.cs
- TextEffect.cs
- xdrvalidator.cs
- HttpDateParse.cs
- OleDbPermission.cs
- MobileUITypeEditor.cs
- AlphabeticalEnumConverter.cs
- UIElement3DAutomationPeer.cs
- HttpResponse.cs
- GraphicsContext.cs
- MultiPartWriter.cs
- IndexOutOfRangeException.cs
- BitmapEffectDrawing.cs
- ArrangedElementCollection.cs
- WebPartDisplayModeCollection.cs
- Merger.cs
- PointAnimation.cs
- CancellationTokenSource.cs
- controlskin.cs
- ResourceDictionaryCollection.cs
- Connector.cs
- Style.cs
- ViewManager.cs
- QueryCursorEventArgs.cs
- TraceListener.cs