Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Regex / System / Text / RegularExpressions / RegexCompilationInfo.cs / 1 / RegexCompilationInfo.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Text.RegularExpressions {
using System;
///
///
/// [To be supplied]
///
///
[ 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;}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Text.RegularExpressions {
using System;
///
///
/// [To be supplied]
///
///
[ 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;}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegexRunnerFactory.cs
- TableLayoutSettingsTypeConverter.cs
- ContextMenuService.cs
- MissingMemberException.cs
- DataControlButton.cs
- XPathNodeInfoAtom.cs
- StateBag.cs
- Variable.cs
- SerializationHelper.cs
- ArraySet.cs
- ButtonStandardAdapter.cs
- SpecularMaterial.cs
- MailAddress.cs
- MailMessageEventArgs.cs
- SerializationInfo.cs
- ClientSettings.cs
- SamlSerializer.cs
- StaticContext.cs
- SectionUpdates.cs
- DataColumnCollection.cs
- diagnosticsswitches.cs
- PeerNameResolver.cs
- CodeTypeParameter.cs
- ArgumentOutOfRangeException.cs
- SecurityState.cs
- FileReservationCollection.cs
- SignatureGenerator.cs
- Events.cs
- DataGridViewCellStyleConverter.cs
- ConfigurationManagerHelperFactory.cs
- NumericUpDown.cs
- HttpCapabilitiesSectionHandler.cs
- ConfigPathUtility.cs
- WebServiceResponseDesigner.cs
- HttpAsyncResult.cs
- X509Certificate.cs
- AnnotationDocumentPaginator.cs
- TextContainerHelper.cs
- Image.cs
- ClientSettings.cs
- JsonByteArrayDataContract.cs
- SecurityResources.cs
- MenuItem.cs
- PresentationSource.cs
- SqlConnectionManager.cs
- HttpAsyncResult.cs
- LogEntryHeaderSerializer.cs
- XmlSerializerAssemblyAttribute.cs
- AuthenticationService.cs
- AuthenticationService.cs
- AttachInfo.cs
- DbParameterCollection.cs
- Evidence.cs
- ByteStreamGeometryContext.cs
- Hashtable.cs
- IndexedGlyphRun.cs
- NetMsmqSecurity.cs
- TemplateControl.cs
- ShaderEffect.cs
- BrowserCapabilitiesFactoryBase.cs
- GorillaCodec.cs
- ZeroOpNode.cs
- TcpHostedTransportConfiguration.cs
- SystemIcons.cs
- VariantWrapper.cs
- KeyEventArgs.cs
- DiagnosticsConfiguration.cs
- TranslateTransform3D.cs
- TaskHelper.cs
- CriticalHandle.cs
- BaseServiceProvider.cs
- KeysConverter.cs
- XPathSingletonIterator.cs
- EntityConnectionStringBuilder.cs
- UIElement.cs
- XmlMemberMapping.cs
- MaterialGroup.cs
- base64Transforms.cs
- ListDictionary.cs
- InkCanvasSelection.cs
- TableLayoutStyle.cs
- DecimalStorage.cs
- StateMachineSubscription.cs
- WebPartAddingEventArgs.cs
- StoreAnnotationsMap.cs
- GeneralTransform3DGroup.cs
- WindowsToolbarItemAsMenuItem.cs
- ValidateNames.cs
- DocumentPageHost.cs
- StackSpiller.Bindings.cs
- DataGridColumnDropSeparator.cs
- SoapExtensionImporter.cs
- CrossSiteScriptingValidation.cs
- DataGridViewCellCollection.cs
- IncrementalReadDecoders.cs
- OleDbEnumerator.cs
- EndOfStreamException.cs
- TypeBuilder.cs
- HtmlLink.cs
- ObjectContext.cs