Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / InteropServices / TCEAdapterGen / NameSpaceExtractor.cs / 1 / NameSpaceExtractor.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.InteropServices.TCEAdapterGen { using System; internal static class NameSpaceExtractor { private static char NameSpaceSeperator = '.'; public static String ExtractNameSpace(String FullyQualifiedTypeName) { int TypeNameStartPos = FullyQualifiedTypeName.LastIndexOf(NameSpaceSeperator); if (TypeNameStartPos == -1) return ""; else return FullyQualifiedTypeName.Substring(0, TypeNameStartPos); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReadOnlyHierarchicalDataSource.cs
- ListViewHitTestInfo.cs
- _CommandStream.cs
- NameSpaceExtractor.cs
- ConstrainedDataObject.cs
- Table.cs
- DatePickerTextBox.cs
- SafeNativeMethods.cs
- CodeObjectCreateExpression.cs
- ColorConvertedBitmap.cs
- GACMembershipCondition.cs
- ObjectStateFormatter.cs
- SystemThemeKey.cs
- XmlAttribute.cs
- InlineObject.cs
- translator.cs
- ContentDefinition.cs
- DataGridHeaderBorder.cs
- messageonlyhwndwrapper.cs
- TransformerTypeCollection.cs
- Control.cs
- KeyNotFoundException.cs
- __Filters.cs
- AddInDeploymentState.cs
- QueryGenerator.cs
- XmlAnyAttributeAttribute.cs
- ServiceBusyException.cs
- EntityStoreSchemaGenerator.cs
- _AutoWebProxyScriptHelper.cs
- LinqDataSourceValidationException.cs
- Timer.cs
- ToolStripItemEventArgs.cs
- ApplicationProxyInternal.cs
- DataServiceEntityAttribute.cs
- EventLogConfiguration.cs
- LogLogRecordHeader.cs
- ApplicationServicesHostFactory.cs
- InheritablePropertyChangeInfo.cs
- Debugger.cs
- RectangleGeometry.cs
- dbenumerator.cs
- FormView.cs
- StickyNoteHelper.cs
- PageTheme.cs
- WizardPanelChangingEventArgs.cs
- FixUpCollection.cs
- UnsafeNetInfoNativeMethods.cs
- Control.cs
- FieldNameLookup.cs
- ClientUIRequest.cs
- BypassElementCollection.cs
- XmlWriterSettings.cs
- XmlKeywords.cs
- UpWmlPageAdapter.cs
- EncoderExceptionFallback.cs
- SecurityPermission.cs
- CollectionViewGroup.cs
- Walker.cs
- ZipFileInfoCollection.cs
- FrameSecurityDescriptor.cs
- NamespaceCollection.cs
- BamlCollectionHolder.cs
- ListManagerBindingsCollection.cs
- WinEventQueueItem.cs
- HttpRequestTraceRecord.cs
- XPathBinder.cs
- ListArgumentProvider.cs
- ScalarOps.cs
- RegularExpressionValidator.cs
- PartitionedDataSource.cs
- XmlNodeList.cs
- LoggedException.cs
- NetworkStream.cs
- AsnEncodedData.cs
- PanelDesigner.cs
- AssociationType.cs
- EncodingInfo.cs
- ImageIndexConverter.cs
- Model3DGroup.cs
- StylusLogic.cs
- MbpInfo.cs
- Assembly.cs
- ButtonChrome.cs
- SQLBoolean.cs
- EntityContainerEmitter.cs
- TextEmbeddedObject.cs
- selecteditemcollection.cs
- BadImageFormatException.cs
- QueryResponse.cs
- TriggerAction.cs
- Pair.cs
- RoutedEvent.cs
- CollectionView.cs
- SplineQuaternionKeyFrame.cs
- WebControlAdapter.cs
- Int64Animation.cs
- ServiceModelConfigurationElementCollection.cs
- TemplateNameScope.cs
- X500Name.cs
- DockPanel.cs