Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TabControlCancelEvent.cs
- IntSecurity.cs
- LayoutEngine.cs
- PtsHelper.cs
- KeyPullup.cs
- SharedUtils.cs
- BinHexEncoder.cs
- Repeater.cs
- VoiceObjectToken.cs
- XmlAttribute.cs
- MetadataArtifactLoaderFile.cs
- StringBuilder.cs
- GradientSpreadMethodValidation.cs
- PlanCompilerUtil.cs
- CodeBlockBuilder.cs
- Substitution.cs
- MethodCallTranslator.cs
- IsolatedStorageFilePermission.cs
- _ListenerRequestStream.cs
- GenerateScriptTypeAttribute.cs
- DesignerDataTable.cs
- ListMarkerSourceInfo.cs
- StructuredCompositeActivityDesigner.cs
- RepeaterItemCollection.cs
- XamlSerializer.cs
- WorkflowItemPresenter.cs
- RegexCharClass.cs
- StoreUtilities.cs
- SessionParameter.cs
- FactoryId.cs
- SQLResource.cs
- DefaultSerializationProviderAttribute.cs
- _SecureChannel.cs
- BrushMappingModeValidation.cs
- MultiTrigger.cs
- HandleCollector.cs
- TextAnchor.cs
- BamlLocalizationDictionary.cs
- EllipticalNodeOperations.cs
- FileSystemInfo.cs
- WorkflowDesigner.cs
- XmlElement.cs
- BamlLocalizableResourceKey.cs
- CodeExpressionStatement.cs
- ButtonChrome.cs
- DataFormats.cs
- UrlMappingCollection.cs
- Highlights.cs
- EndpointAddressAugust2004.cs
- TabItemAutomationPeer.cs
- RightsManagementEncryptedStream.cs
- StackBuilderSink.cs
- TextElement.cs
- Bits.cs
- DataGridViewComponentPropertyGridSite.cs
- WebPartEditorCancelVerb.cs
- ContentElement.cs
- MetadataPropertyvalue.cs
- OutOfProcStateClientManager.cs
- ObsoleteAttribute.cs
- HttpCookieCollection.cs
- HostExecutionContextManager.cs
- LinearGradientBrush.cs
- TextBlock.cs
- BitVector32.cs
- DesignerSerializerAttribute.cs
- InputManager.cs
- Margins.cs
- InputLanguageSource.cs
- SpnEndpointIdentity.cs
- HwndStylusInputProvider.cs
- XslUrlEditor.cs
- JsonClassDataContract.cs
- RetriableClipboard.cs
- HttpGetClientProtocol.cs
- KnownBoxes.cs
- AdRotatorDesigner.cs
- BitmapDecoder.cs
- ExpressionParser.cs
- EnumBuilder.cs
- DrawingCollection.cs
- FontFamilyValueSerializer.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- TypeDescriptionProviderAttribute.cs
- ContentDisposition.cs
- HybridWebProxyFinder.cs
- ObjectManager.cs
- AxParameterData.cs
- RightNameExpirationInfoPair.cs
- VirtualizingStackPanel.cs
- FormsAuthenticationCredentials.cs
- WorkflowServiceAttributes.cs
- DriveInfo.cs
- FragmentNavigationEventArgs.cs
- WindowsRebar.cs
- ImageField.cs
- SQLDateTime.cs
- PropertyDescriptor.cs
- TrackBar.cs
- NumericUpDown.cs