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;
///
///
/// [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;}
}
}
}
#endif
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
#if !SILVERLIGHT
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;}
}
}
}
#endif
// 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
- FunctionParameter.cs
- MemoryStream.cs
- SafeProcessHandle.cs
- WarningException.cs
- MissingSatelliteAssemblyException.cs
- URLEditor.cs
- NotSupportedException.cs
- SHA512.cs
- IfAction.cs
- Missing.cs
- ActivitiesCollection.cs
- ProvideValueServiceProvider.cs
- PrePrepareMethodAttribute.cs
- DataBoundControl.cs
- FtpWebRequest.cs
- RecordConverter.cs
- panel.cs
- CharacterMetricsDictionary.cs
- QilParameter.cs
- ListManagerBindingsCollection.cs
- SimpleRecyclingCache.cs
- EndEvent.cs
- ChannelFactoryBase.cs
- KeyConstraint.cs
- URLEditor.cs
- FrameworkObject.cs
- WindowsAltTab.cs
- DeclarativeCatalogPart.cs
- SecurityKeyIdentifierClause.cs
- SafeReversePInvokeHandle.cs
- PolyBezierSegmentFigureLogic.cs
- _SslState.cs
- ArrayItemReference.cs
- RequestStatusBarUpdateEventArgs.cs
- SQLDecimalStorage.cs
- AutomationElementCollection.cs
- DataSourceCache.cs
- ProxyWebPart.cs
- ConnectionPointCookie.cs
- ContextMenuStripGroup.cs
- LocalBuilder.cs
- ImageIndexConverter.cs
- Trigger.cs
- WebPartUtil.cs
- ConfigurationConverterBase.cs
- ProgressChangedEventArgs.cs
- CompositeFontInfo.cs
- FixedDocument.cs
- ProviderConnectionPointCollection.cs
- MailMessageEventArgs.cs
- Vector3DKeyFrameCollection.cs
- XPathChildIterator.cs
- ObjectIDGenerator.cs
- TriggerBase.cs
- MissingSatelliteAssemblyException.cs
- ExpressionPrinter.cs
- TextEditorLists.cs
- ParserContext.cs
- FocusWithinProperty.cs
- TextModifier.cs
- TargetControlTypeCache.cs
- Constants.cs
- ReflectionTypeLoadException.cs
- ObjectAnimationUsingKeyFrames.cs
- State.cs
- RequestQueryParser.cs
- RectAnimationClockResource.cs
- latinshape.cs
- ContextMenuAutomationPeer.cs
- TraceUtils.cs
- MetadataCache.cs
- EncodingTable.cs
- WebPartDisplayModeEventArgs.cs
- BooleanAnimationUsingKeyFrames.cs
- ChangeDirector.cs
- WorkItem.cs
- DelegateSerializationHolder.cs
- Monitor.cs
- Overlapped.cs
- ControlCachePolicy.cs
- _DomainName.cs
- DataGridViewCellParsingEventArgs.cs
- FunctionNode.cs
- RtfToXamlLexer.cs
- RankException.cs
- DEREncoding.cs
- ISFTagAndGuidCache.cs
- LogReserveAndAppendState.cs
- ToolBar.cs
- HierarchicalDataBoundControl.cs
- TranslateTransform.cs
- TimeSpan.cs
- StaticSiteMapProvider.cs
- SqlDataSourceCache.cs
- DateTimeValueSerializer.cs
- XmlDocument.cs
- Calendar.cs
- VisualTreeUtils.cs
- HelpEvent.cs
- ThreadLocal.cs