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
- AddDataControlFieldDialog.cs
- AssemblyName.cs
- EUCJPEncoding.cs
- CommandField.cs
- ByteRangeDownloader.cs
- ValidatorCollection.cs
- JsonWriter.cs
- DockPanel.cs
- ActivityValidator.cs
- ToolStripRenderer.cs
- FormView.cs
- WinEventQueueItem.cs
- ErrorTableItemStyle.cs
- CultureMapper.cs
- SkipQueryOptionExpression.cs
- Send.cs
- ManagementOptions.cs
- SamlAudienceRestrictionCondition.cs
- WorkflowView.cs
- IndentedWriter.cs
- TripleDES.cs
- AttributeSetAction.cs
- ExpressionVisitor.cs
- WSTrust.cs
- XmlSerializationGeneratedCode.cs
- DataGridViewUtilities.cs
- sqlser.cs
- ToolStripArrowRenderEventArgs.cs
- FormsAuthenticationCredentials.cs
- SqlDataAdapter.cs
- SspiNegotiationTokenAuthenticatorState.cs
- XsltFunctions.cs
- TreeNode.cs
- DBPropSet.cs
- DirectoryLocalQuery.cs
- RbTree.cs
- PersonalizationStateQuery.cs
- SystemIcons.cs
- OneOfScalarConst.cs
- MergePropertyDescriptor.cs
- OdbcConnectionString.cs
- TableSectionStyle.cs
- RewritingProcessor.cs
- BufferedGraphics.cs
- SerializationInfo.cs
- GridViewPageEventArgs.cs
- RoleGroupCollection.cs
- GPRECT.cs
- UnsafeNativeMethods.cs
- IntSumAggregationOperator.cs
- Executor.cs
- TdsParserSafeHandles.cs
- AutomationIdentifierGuids.cs
- MethodBuilderInstantiation.cs
- PeerResolverSettings.cs
- FileDialog_Vista_Interop.cs
- SynchronizationContext.cs
- TableSectionStyle.cs
- SqlDelegatedTransaction.cs
- CalculatedColumn.cs
- WorkflowEventArgs.cs
- ToolStripDropDown.cs
- TemplateControlBuildProvider.cs
- ServiceOperation.cs
- CodeChecksumPragma.cs
- OdbcReferenceCollection.cs
- SeverityFilter.cs
- UdpTransportBindingElement.cs
- SingleTagSectionHandler.cs
- PersonalizationStateQuery.cs
- LayoutEditorPart.cs
- StackBuilderSink.cs
- HeaderCollection.cs
- COM2ComponentEditor.cs
- GetWinFXPath.cs
- BitSet.cs
- StylusPointDescription.cs
- PrivilegeNotHeldException.cs
- Dump.cs
- EncodedStreamFactory.cs
- Converter.cs
- EntityDataSourceValidationException.cs
- TreeNodeMouseHoverEvent.cs
- SoapReflectionImporter.cs
- SiteMapHierarchicalDataSourceView.cs
- GenericTypeParameterBuilder.cs
- MetadataItem.cs
- ManagementEventWatcher.cs
- MultipleViewPattern.cs
- HandleCollector.cs
- SortDescriptionCollection.cs
- UnsafeMethods.cs
- EarlyBoundInfo.cs
- Constraint.cs
- ScrollChrome.cs
- oledbmetadatacollectionnames.cs
- ExtensionFile.cs
- PropertyEntry.cs
- WebPartConnectionsConnectVerb.cs
- Message.cs