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
- Activity.cs
- AccessedThroughPropertyAttribute.cs
- PaginationProgressEventArgs.cs
- FormView.cs
- RegexCaptureCollection.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- TextRangeSerialization.cs
- SqlMethodCallConverter.cs
- StackOverflowException.cs
- XmlCharCheckingReader.cs
- ToolboxBitmapAttribute.cs
- bidPrivateBase.cs
- IdleTimeoutMonitor.cs
- StoreAnnotationsMap.cs
- SessionParameter.cs
- PathGradientBrush.cs
- ApplicationException.cs
- LogConverter.cs
- basenumberconverter.cs
- CorrelationToken.cs
- IFlowDocumentViewer.cs
- GroupBox.cs
- Control.cs
- CommentGlyph.cs
- ValueType.cs
- GenerateHelper.cs
- IssuedTokenParametersEndpointAddressElement.cs
- DataGridViewHeaderCell.cs
- SemaphoreFullException.cs
- DataSetMappper.cs
- SocketAddress.cs
- MailAddressParser.cs
- WebBrowserNavigatingEventHandler.cs
- SerialReceived.cs
- VersionedStreamOwner.cs
- FlowPosition.cs
- HtmlPhoneCallAdapter.cs
- DisplayMemberTemplateSelector.cs
- OutputCacheSettings.cs
- ConsumerConnectionPoint.cs
- TokenBasedSet.cs
- WmiInstallComponent.cs
- ListViewItem.cs
- BrowsableAttribute.cs
- CachedFontFamily.cs
- HashAlgorithm.cs
- Light.cs
- translator.cs
- AppDomainAttributes.cs
- XmlTextEncoder.cs
- WebPartConnectVerb.cs
- ColorTransformHelper.cs
- PropertyItemInternal.cs
- CopyNamespacesAction.cs
- PasswordDeriveBytes.cs
- _HeaderInfoTable.cs
- GeometryHitTestResult.cs
- ListBase.cs
- UserPreferenceChangedEventArgs.cs
- SizeValueSerializer.cs
- PeerDuplexChannelListener.cs
- CqlWriter.cs
- CollectionViewGroup.cs
- ObjectStorage.cs
- ChannelRequirements.cs
- SchemaMapping.cs
- SchemaImporterExtensionElementCollection.cs
- DbProviderFactoriesConfigurationHandler.cs
- DynamicControl.cs
- BitStream.cs
- RegexBoyerMoore.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ClosableStream.cs
- ApplicationBuildProvider.cs
- PagerStyle.cs
- PersistenceTypeAttribute.cs
- MetadataCacheItem.cs
- FixedStringLookup.cs
- QueryPageSettingsEventArgs.cs
- PageFunction.cs
- TextMarkerSource.cs
- DetailsViewUpdatedEventArgs.cs
- OleDbDataAdapter.cs
- TextTreeTextBlock.cs
- WindowHideOrCloseTracker.cs
- SafeFileMappingHandle.cs
- SettingsPropertyValueCollection.cs
- SystemTcpStatistics.cs
- PrintController.cs
- ExpanderAutomationPeer.cs
- SystemNetHelpers.cs
- BasicExpressionVisitor.cs
- ExtentKey.cs
- StylusSystemGestureEventArgs.cs
- ApplyTemplatesAction.cs
- EncodingNLS.cs
- FigureParaClient.cs
- _DomainName.cs
- PropertyToken.cs
- WebPartRestoreVerb.cs