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
- XmlBoundElement.cs
- httpserverutility.cs
- AppDomainProtocolHandler.cs
- _ProxyChain.cs
- AutoGeneratedFieldProperties.cs
- ObjectConverter.cs
- MTConfigUtil.cs
- DataGridViewSelectedColumnCollection.cs
- ColorConvertedBitmap.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- SmtpReplyReader.cs
- InfocardChannelParameter.cs
- XmlBufferedByteStreamReader.cs
- XmlByteStreamReader.cs
- EventHandlersStore.cs
- regiisutil.cs
- storepermissionattribute.cs
- DrawingAttributes.cs
- XmlChildEnumerator.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ListViewDeleteEventArgs.cs
- SoapReflectionImporter.cs
- BitmapEffectInputConnector.cs
- PanelStyle.cs
- DataGridParentRows.cs
- AutomationEvent.cs
- TextContainerHelper.cs
- DataGridViewCellParsingEventArgs.cs
- BitmapScalingModeValidation.cs
- DbBuffer.cs
- SoapExtensionStream.cs
- DataGridViewCellParsingEventArgs.cs
- SynchronizedInputProviderWrapper.cs
- TextEffect.cs
- CustomAttributeBuilder.cs
- sortedlist.cs
- XmlSerializerVersionAttribute.cs
- ImageListDesigner.cs
- SrgsRule.cs
- DataGridViewToolTip.cs
- ICspAsymmetricAlgorithm.cs
- StringResourceManager.cs
- SystemColors.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- PagesChangedEventArgs.cs
- EventRecordWrittenEventArgs.cs
- DBSchemaTable.cs
- ToolStripItemCollection.cs
- ValidationSummary.cs
- AnnotationComponentManager.cs
- HttpsChannelFactory.cs
- Enumerable.cs
- ManipulationPivot.cs
- AppDomainAttributes.cs
- ToggleButton.cs
- SortQuery.cs
- HttpValueCollection.cs
- WebSysDisplayNameAttribute.cs
- MenuItemCollection.cs
- UntrustedRecipientException.cs
- OleDbDataReader.cs
- ContourSegment.cs
- ViewSimplifier.cs
- MonthChangedEventArgs.cs
- FileDialogPermission.cs
- IIS7WorkerRequest.cs
- StartUpEventArgs.cs
- SchemaNames.cs
- QuestionEventArgs.cs
- ConfigurationSectionGroup.cs
- ImportOptions.cs
- QueryParameter.cs
- WebPartZoneBase.cs
- CompiledELinqQueryState.cs
- Transform.cs
- TraceUtils.cs
- StringUtil.cs
- HwndSourceKeyboardInputSite.cs
- HtmlToClrEventProxy.cs
- InputElement.cs
- WebBrowserNavigatingEventHandler.cs
- DelegateSerializationHolder.cs
- SchemaCreator.cs
- UnknownWrapper.cs
- ListSortDescription.cs
- InstanceStore.cs
- EventRecord.cs
- IdentifierService.cs
- XPathDocumentIterator.cs
- ChangeNode.cs
- DocumentViewerBase.cs
- GraphicsPath.cs
- SystemUnicastIPAddressInformation.cs
- SmiConnection.cs
- PenThreadPool.cs
- Stopwatch.cs
- SchemaCollectionPreprocessor.cs
- ExitEventArgs.cs
- SocketInformation.cs
- _CacheStreams.cs