Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Regex / System / Text / RegularExpressions / RegexCompilationInfo.cs / 1305376 / RegexCompilationInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- #if !SILVERLIGHT namespace System.Text.RegularExpressions { using System; ////// [ Serializable() ] public class RegexCompilationInfo { private String pattern; private RegexOptions options; private String name; private String nspace; private bool isPublic; ////// [To be supplied] /// ////// public RegexCompilationInfo(String pattern, RegexOptions options, String name, String fullnamespace, bool ispublic) { Pattern = pattern; Name = name; Namespace = fullnamespace; this.options = options; isPublic = ispublic; } ////// [To be supplied] /// ////// public String Pattern { get { return pattern; } set { if (value == null) throw new ArgumentNullException("value"); pattern = value; } } ////// [To be supplied] /// ////// public RegexOptions Options { get { return options; } set { options = value;} } ////// [To be supplied] /// ////// public String Name { get { return name; } set { if (value == null) { throw new ArgumentNullException("value"); } if (value.Length == 0) { throw new ArgumentException(SR.GetString(SR.InvalidNullEmptyArgument, "value"), "value"); } name = value; } } ////// [To be supplied] /// ////// public String Namespace { get { return nspace; } set { if (value == null) throw new ArgumentNullException("value"); nspace = value; } } ////// [To be supplied] /// ////// public bool IsPublic { get { return isPublic; } set { isPublic = value;} } } } #endif // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// [To be supplied] /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- #if !SILVERLIGHT namespace System.Text.RegularExpressions { using System; ////// [ Serializable() ] public class RegexCompilationInfo { private String pattern; private RegexOptions options; private String name; private String nspace; private bool isPublic; ////// [To be supplied] /// ////// public RegexCompilationInfo(String pattern, RegexOptions options, String name, String fullnamespace, bool ispublic) { Pattern = pattern; Name = name; Namespace = fullnamespace; this.options = options; isPublic = ispublic; } ////// [To be supplied] /// ////// public String Pattern { get { return pattern; } set { if (value == null) throw new ArgumentNullException("value"); pattern = value; } } ////// [To be supplied] /// ////// public RegexOptions Options { get { return options; } set { options = value;} } ////// [To be supplied] /// ////// public String Name { get { return name; } set { if (value == null) { throw new ArgumentNullException("value"); } if (value.Length == 0) { throw new ArgumentException(SR.GetString(SR.InvalidNullEmptyArgument, "value"), "value"); } name = value; } } ////// [To be supplied] /// ////// public String Namespace { get { return nspace; } set { if (value == null) throw new ArgumentNullException("value"); nspace = value; } } ////// [To be supplied] /// ////// public bool IsPublic { get { return isPublic; } set { isPublic = value;} } } } #endif // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// [To be supplied] /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewSelectedCellCollection.cs
- WebPartChrome.cs
- BaseTemplateParser.cs
- DataControlReference.cs
- TransactionBridgeSection.cs
- CriticalFinalizerObject.cs
- Matrix3D.cs
- ConfigXmlAttribute.cs
- FixedMaxHeap.cs
- NullableConverter.cs
- ReadOnlyTernaryTree.cs
- BCryptHashAlgorithm.cs
- NameValuePair.cs
- OletxResourceManager.cs
- HtmlWindow.cs
- ObjectDataSource.cs
- wgx_render.cs
- SqlCrossApplyToCrossJoin.cs
- TextSimpleMarkerProperties.cs
- EUCJPEncoding.cs
- FilteredDataSetHelper.cs
- OleDbDataAdapter.cs
- EnumValAlphaComparer.cs
- TableParaClient.cs
- EntityWrapper.cs
- ServiceHostingEnvironment.cs
- Setter.cs
- DataGridCell.cs
- AttachedPropertyMethodSelector.cs
- TabControlEvent.cs
- XmlTextReaderImpl.cs
- SiteIdentityPermission.cs
- NameTable.cs
- WorkflowMarkupSerializer.cs
- XNodeValidator.cs
- CodeIdentifier.cs
- AddressAccessDeniedException.cs
- OperationInfo.cs
- LocationUpdates.cs
- CFGGrammar.cs
- ReturnType.cs
- SqlConnectionStringBuilder.cs
- NumberFormatInfo.cs
- DefaultTraceListener.cs
- SignatureHelper.cs
- MachineKeySection.cs
- ListItemConverter.cs
- ProvidersHelper.cs
- DependencyProperty.cs
- OletxEnlistment.cs
- ContentAlignmentEditor.cs
- ScrollChrome.cs
- ExpandCollapseProviderWrapper.cs
- ICspAsymmetricAlgorithm.cs
- PersistenceException.cs
- CompilationRelaxations.cs
- CodeDomConfigurationHandler.cs
- TextSelectionProcessor.cs
- SafeArchiveContext.cs
- X509SecurityTokenAuthenticator.cs
- AlignmentYValidation.cs
- FlowDocumentFormatter.cs
- Repeater.cs
- DeviceSpecificDesigner.cs
- BlockUIContainer.cs
- EndEvent.cs
- ManagementObject.cs
- DateBoldEvent.cs
- XmlSchemaComplexType.cs
- GcSettings.cs
- ClientBuildManager.cs
- BezierSegment.cs
- RegexStringValidator.cs
- querybuilder.cs
- __TransparentProxy.cs
- RSAOAEPKeyExchangeFormatter.cs
- InkSerializer.cs
- WebPartCatalogAddVerb.cs
- StorageEndPropertyMapping.cs
- ExpandCollapseProviderWrapper.cs
- DataGridViewColumnCollection.cs
- SequenceDesignerAccessibleObject.cs
- AttachedPropertyMethodSelector.cs
- SecurityTokenRequirement.cs
- IOException.cs
- Context.cs
- SettingsAttributes.cs
- AsyncPostBackTrigger.cs
- SuppressIldasmAttribute.cs
- HtmlElement.cs
- HttpCookie.cs
- Int32Rect.cs
- StorageInfo.cs
- DoWorkEventArgs.cs
- StringDictionaryWithComparer.cs
- DbDeleteCommandTree.cs
- HttpCacheVary.cs
- DataObjectSettingDataEventArgs.cs
- JoinGraph.cs
- DesignTable.cs