Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Wmi / managed / System / Management / MgmtResManager.cs / 1305376 / MgmtResManager.cs
using System; using System.Resources; using System.Reflection; using System.Globalization; namespace System.Management { internal sealed class RC { // Private constructor to prevent instances of this class from being created RC(){} // ResourceManager instance static readonly ResourceManager resMgr = new ResourceManager(Assembly.GetExecutingAssembly().GetName().Name ,Assembly.GetExecutingAssembly(),null); // Public method to get string from resources public static string GetString(string strToGet) { return resMgr.GetString(strToGet,CultureInfo.CurrentCulture); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Resources; using System.Reflection; using System.Globalization; namespace System.Management { internal sealed class RC { // Private constructor to prevent instances of this class from being created RC(){} // ResourceManager instance static readonly ResourceManager resMgr = new ResourceManager(Assembly.GetExecutingAssembly().GetName().Name ,Assembly.GetExecutingAssembly(),null); // Public method to get string from resources public static string GetString(string strToGet) { return resMgr.GetString(strToGet,CultureInfo.CurrentCulture); } } } // 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
- MultiDataTrigger.cs
- XmlSchemaAnyAttribute.cs
- ListControl.cs
- BrowserDefinitionCollection.cs
- CodeGotoStatement.cs
- StorageAssociationSetMapping.cs
- EventLogLink.cs
- CodeTypeParameterCollection.cs
- SourceLineInfo.cs
- SecurityTokenRequirement.cs
- InsufficientMemoryException.cs
- BamlResourceContent.cs
- Binding.cs
- ResourceExpression.cs
- NamespaceInfo.cs
- Mutex.cs
- FixedDocument.cs
- HTMLTagNameToTypeMapper.cs
- Guid.cs
- ToolConsole.cs
- FrugalList.cs
- DivideByZeroException.cs
- CollectionBase.cs
- baseaxisquery.cs
- PropertyPath.cs
- ContentType.cs
- RecommendedAsConfigurableAttribute.cs
- NameNode.cs
- CalculatedColumn.cs
- TableRow.cs
- InfocardInteractiveChannelInitializer.cs
- FontUnit.cs
- BinaryEditor.cs
- SiteMapSection.cs
- BlockExpression.cs
- ColorMap.cs
- FirewallWrapper.cs
- AmbiguousMatchException.cs
- TextEditor.cs
- VideoDrawing.cs
- WebControl.cs
- FixUp.cs
- ActivityExecutorSurrogate.cs
- ToolStripRendererSwitcher.cs
- StaticSiteMapProvider.cs
- ItemCheckedEvent.cs
- StylusPlugInCollection.cs
- DesignerActionPanel.cs
- ResXBuildProvider.cs
- ScrollContentPresenter.cs
- MethodAccessException.cs
- SafeNativeMethodsMilCoreApi.cs
- DataControlReferenceCollection.cs
- XmlSchemaComplexContent.cs
- DeferredSelectedIndexReference.cs
- DataControlImageButton.cs
- MeasureItemEvent.cs
- SharedConnectionListener.cs
- WindowProviderWrapper.cs
- StateChangeEvent.cs
- HttpCapabilitiesSectionHandler.cs
- ConvertEvent.cs
- LongTypeConverter.cs
- EncoderReplacementFallback.cs
- HtmlEncodedRawTextWriter.cs
- HttpResponseHeader.cs
- AliasGenerator.cs
- StateDesigner.LayoutSelectionGlyph.cs
- HttpErrorTraceRecord.cs
- CfgSemanticTag.cs
- ServiceEndpointElementCollection.cs
- WindowPattern.cs
- WebPartDisplayModeEventArgs.cs
- CodeDOMProvider.cs
- Task.cs
- InkCanvas.cs
- FunctionDetailsReader.cs
- AdapterDictionary.cs
- CookielessHelper.cs
- documentsequencetextpointer.cs
- PublisherIdentityPermission.cs
- PointLightBase.cs
- DataBindingHandlerAttribute.cs
- GreenMethods.cs
- StringAttributeCollection.cs
- ValueTable.cs
- EngineSiteSapi.cs
- ColorInterpolationModeValidation.cs
- Expander.cs
- ClientSideQueueItem.cs
- ListViewItem.cs
- WSDualHttpBinding.cs
- SmiGettersStream.cs
- TrackPointCollection.cs
- Maps.cs
- HMACSHA384.cs
- RichTextBoxAutomationPeer.cs
- MouseActionConverter.cs
- WebPartTransformerCollection.cs
- ContractHandle.cs