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
- BasePattern.cs
- StringResourceManager.cs
- PersonalizationStateInfo.cs
- BasePattern.cs
- COAUTHIDENTITY.cs
- Configuration.cs
- TaiwanLunisolarCalendar.cs
- PageCodeDomTreeGenerator.cs
- ClientScriptManagerWrapper.cs
- OutOfMemoryException.cs
- RequestValidator.cs
- DataServiceRequestException.cs
- BooleanSwitch.cs
- MatrixConverter.cs
- sqlstateclientmanager.cs
- GridErrorDlg.cs
- NavigatorInput.cs
- X509CertificateValidator.cs
- ToolbarAUtomationPeer.cs
- PropertyRecord.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ContextStaticAttribute.cs
- shaperfactory.cs
- CssClassPropertyAttribute.cs
- SerializeAbsoluteContext.cs
- IPipelineRuntime.cs
- PersistChildrenAttribute.cs
- ManagementObject.cs
- ParsedAttributeCollection.cs
- CodeComment.cs
- BatchStream.cs
- DocumentOutline.cs
- EntityParameterCollection.cs
- SurrogateDataContract.cs
- WebBrowser.cs
- ArrayConverter.cs
- DBNull.cs
- PropertyChangeTracker.cs
- Debugger.cs
- IssuedTokenClientBehaviorsElement.cs
- Semaphore.cs
- MiniCustomAttributeInfo.cs
- HttpResponseInternalWrapper.cs
- QuaternionAnimation.cs
- TagMapCollection.cs
- MultiTouchSystemGestureLogic.cs
- EntitySet.cs
- WindowsMenu.cs
- FixedTextBuilder.cs
- InteropDesigner.xaml.cs
- OdbcPermission.cs
- HttpServerUtilityWrapper.cs
- DynamicPropertyReader.cs
- SplitContainer.cs
- HScrollBar.cs
- HandlerFactoryCache.cs
- IDictionary.cs
- XmlDataDocument.cs
- coordinatorfactory.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- LineInfo.cs
- TemplateBamlTreeBuilder.cs
- PageHandlerFactory.cs
- SiteMapPath.cs
- NotifyInputEventArgs.cs
- SchemeSettingElement.cs
- RulePatternOps.cs
- Int32AnimationUsingKeyFrames.cs
- MutableAssemblyCacheEntry.cs
- NumberEdit.cs
- XmlMapping.cs
- SubqueryRules.cs
- HtmlCalendarAdapter.cs
- IncrementalHitTester.cs
- DataRowView.cs
- AnnotationObservableCollection.cs
- EmptyEnumerable.cs
- metadatamappinghashervisitor.cs
- ModelTreeEnumerator.cs
- BinaryObjectWriter.cs
- OracleConnectionString.cs
- WriteableBitmap.cs
- DivideByZeroException.cs
- MissingSatelliteAssemblyException.cs
- HiddenFieldPageStatePersister.cs
- XsltLoader.cs
- ClientSettings.cs
- BamlRecordWriter.cs
- InputReferenceExpression.cs
- HostedTransportConfigurationManager.cs
- WebPartConnectionsConfigureVerb.cs
- TableLayoutPanel.cs
- CodeDelegateInvokeExpression.cs
- BuildProviderAppliesToAttribute.cs
- ProviderCollection.cs
- RegexMatchCollection.cs
- ConfigurationSchemaErrors.cs
- CSharpCodeProvider.cs
- UserPreferenceChangingEventArgs.cs
- PerformanceCounterPermissionEntry.cs