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
- DataBindingCollection.cs
- ScriptControlDescriptor.cs
- SlipBehavior.cs
- FilteredXmlReader.cs
- XmlBinaryReader.cs
- CommunicationObjectFaultedException.cs
- EmbeddedMailObjectsCollection.cs
- ScaleTransform3D.cs
- PropertyGridCommands.cs
- TcpTransportSecurityElement.cs
- contentDescriptor.cs
- SpeechSynthesizer.cs
- MemberInfoSerializationHolder.cs
- InstanceContext.cs
- DataGridViewRow.cs
- ApplicationHost.cs
- ControlTemplate.cs
- ShapeTypeface.cs
- WindowPattern.cs
- TraceContext.cs
- TextWriterEngine.cs
- NumericUpDownAcceleration.cs
- _ListenerRequestStream.cs
- ImageIndexConverter.cs
- SafeSecurityHandles.cs
- LowerCaseStringConverter.cs
- LinearKeyFrames.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- DataGridCellInfo.cs
- TextEditorTables.cs
- srgsitem.cs
- RootBrowserWindow.cs
- DataKey.cs
- Win32SafeHandles.cs
- WebPartEditorApplyVerb.cs
- NativeCompoundFileAPIs.cs
- MonitoringDescriptionAttribute.cs
- RectAnimationUsingKeyFrames.cs
- ItemsControl.cs
- DataGridItem.cs
- TextEncodedRawTextWriter.cs
- Crc32.cs
- DataSourceControlBuilder.cs
- NavigateEvent.cs
- MessageRpc.cs
- CardSpaceSelector.cs
- StringValidator.cs
- Control.cs
- IsolatedStoragePermission.cs
- ScrollContentPresenter.cs
- processwaithandle.cs
- LinqDataSourceView.cs
- FixedSOMElement.cs
- XamlPoint3DCollectionSerializer.cs
- SymLanguageVendor.cs
- HttpDigestClientElement.cs
- SystemKeyConverter.cs
- EntityKey.cs
- DrawingBrush.cs
- Gdiplus.cs
- Freezable.cs
- DefaultCommandConverter.cs
- PageBuildProvider.cs
- SlotInfo.cs
- SqlXmlStorage.cs
- PeerName.cs
- ValidationHelpers.cs
- EditorPart.cs
- printdlgexmarshaler.cs
- BuildProviderAppliesToAttribute.cs
- WebPartConnectionsCloseVerb.cs
- Rijndael.cs
- TypeUtil.cs
- ProfileBuildProvider.cs
- PageEventArgs.cs
- XmlEncoding.cs
- CodeCatchClause.cs
- RootBuilder.cs
- CodeTypeReference.cs
- ErrorWrapper.cs
- MediaContext.cs
- HybridDictionary.cs
- nulltextcontainer.cs
- SynchronizationLockException.cs
- Comparer.cs
- TraceHandlerErrorFormatter.cs
- XmlAttributeOverrides.cs
- DesignerDataSourceView.cs
- Track.cs
- RepeaterItemCollection.cs
- InteropEnvironment.cs
- GridViewAutomationPeer.cs
- CatalogZoneBase.cs
- MediaScriptCommandRoutedEventArgs.cs
- CollectionDataContractAttribute.cs
- GraphicsPath.cs
- OdbcFactory.cs
- ListViewUpdateEventArgs.cs
- HtmlInputPassword.cs
- CursorConverter.cs