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
- StaticExtensionConverter.cs
- _AuthenticationState.cs
- CharEntityEncoderFallback.cs
- SqlDataSourceParameterParser.cs
- TextTreeTextBlock.cs
- TextBoxBase.cs
- CodeGenerator.cs
- DeflateStream.cs
- FormViewModeEventArgs.cs
- SeekStoryboard.cs
- LocalIdKeyIdentifierClause.cs
- TextElementCollection.cs
- User.cs
- ProviderCommandInfoUtils.cs
- TypeSystemHelpers.cs
- CompleteWizardStep.cs
- ElementFactory.cs
- OptimizerPatterns.cs
- ProxyOperationRuntime.cs
- Point3DKeyFrameCollection.cs
- PropertyDescriptor.cs
- GridItem.cs
- TargetParameterCountException.cs
- Visitor.cs
- TracePayload.cs
- returneventsaver.cs
- CodeTypeMemberCollection.cs
- Context.cs
- BodyWriter.cs
- ListView.cs
- FamilyMap.cs
- MultipartContentParser.cs
- GraphicsContainer.cs
- Polygon.cs
- LazyTextWriterCreator.cs
- MailHeaderInfo.cs
- ClientTargetCollection.cs
- OracleCommand.cs
- QilUnary.cs
- ErrorLog.cs
- PropertyChangingEventArgs.cs
- ItemMap.cs
- DocumentPageTextView.cs
- TextTreeObjectNode.cs
- ToolStripDropDownClosingEventArgs.cs
- GPRECT.cs
- columnmapkeybuilder.cs
- HwndTarget.cs
- GenericTypeParameterBuilder.cs
- ExclusiveCanonicalizationTransform.cs
- ListenDesigner.cs
- Internal.cs
- Native.cs
- WhiteSpaceTrimStringConverter.cs
- LoginCancelEventArgs.cs
- ElementMarkupObject.cs
- ComponentCodeDomSerializer.cs
- SynchronizedInputAdaptor.cs
- ResumeStoryboard.cs
- QilXmlReader.cs
- PeerTransportSecuritySettings.cs
- BindingContext.cs
- MultiViewDesigner.cs
- RotateTransform.cs
- DataSourceExpressionCollection.cs
- Point3DKeyFrameCollection.cs
- Axis.cs
- BindingsCollection.cs
- SystemInfo.cs
- ContextStack.cs
- RouteValueExpressionBuilder.cs
- NegatedCellConstant.cs
- Vector3dCollection.cs
- TableSectionStyle.cs
- AttachedPropertyBrowsableAttribute.cs
- AssemblyAttributesGoHere.cs
- ScriptingWebServicesSectionGroup.cs
- PagesSection.cs
- documentsequencetextcontainer.cs
- ShapingEngine.cs
- Viewport2DVisual3D.cs
- Compensation.cs
- sqlser.cs
- CredentialCache.cs
- SchemeSettingElement.cs
- ArgumentNullException.cs
- ParsedRoute.cs
- AdRotator.cs
- DrawListViewColumnHeaderEventArgs.cs
- InternalsVisibleToAttribute.cs
- ChannelPool.cs
- AppSecurityManager.cs
- Parallel.cs
- CmsInterop.cs
- SignedInfo.cs
- OpCellTreeNode.cs
- DataGridViewCellPaintingEventArgs.cs
- XmlSchemaGroupRef.cs
- KeyGesture.cs
- ResXResourceWriter.cs