Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Compilation / ExpressionPrefixAttribute.cs / 1 / ExpressionPrefixAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Compilation {
using System;
using System.ComponentModel;
using System.Security.Permissions;
[AttributeUsage(AttributeTargets.Class, AllowMultiple=false)]
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class ExpressionPrefixAttribute : Attribute {
private string _expressionPrefix;
public ExpressionPrefixAttribute(string expressionPrefix) {
if (String.IsNullOrEmpty(expressionPrefix)) {
throw new ArgumentNullException("expressionPrefix");
}
_expressionPrefix = expressionPrefix;
}
public string ExpressionPrefix {
get {
return _expressionPrefix;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Compilation {
using System;
using System.ComponentModel;
using System.Security.Permissions;
[AttributeUsage(AttributeTargets.Class, AllowMultiple=false)]
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class ExpressionPrefixAttribute : Attribute {
private string _expressionPrefix;
public ExpressionPrefixAttribute(string expressionPrefix) {
if (String.IsNullOrEmpty(expressionPrefix)) {
throw new ArgumentNullException("expressionPrefix");
}
_expressionPrefix = expressionPrefix;
}
public string ExpressionPrefix {
get {
return _expressionPrefix;
}
}
}
}
// 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
- RulePatternOps.cs
- RouteParser.cs
- TypographyProperties.cs
- DeferrableContent.cs
- LayoutSettings.cs
- TemplateEditingFrame.cs
- RequiredFieldValidator.cs
- StyleBamlTreeBuilder.cs
- PaperSize.cs
- InvalidateEvent.cs
- WebPartDisplayMode.cs
- CodeCommentStatementCollection.cs
- MobileControlsSectionHelper.cs
- ErrorWebPart.cs
- HeaderUtility.cs
- WebServiceEnumData.cs
- CompositeActivityCodeGenerator.cs
- _IPv4Address.cs
- RemotingSurrogateSelector.cs
- UnitControl.cs
- PartialArray.cs
- GridItem.cs
- VirtualizedContainerService.cs
- MetadataPropertyCollection.cs
- DeviceContexts.cs
- ListBindableAttribute.cs
- SQLDateTime.cs
- RequestUriProcessor.cs
- LockCookie.cs
- CryptoHandle.cs
- SwitchAttribute.cs
- DigestTraceRecordHelper.cs
- OdbcConnectionPoolProviderInfo.cs
- AssociationType.cs
- SchemaImporterExtension.cs
- PixelFormat.cs
- GatewayDefinition.cs
- Brushes.cs
- HttpContextBase.cs
- ObjectStateFormatter.cs
- complextypematerializer.cs
- PerformanceCounterPermissionEntry.cs
- GlyphRunDrawing.cs
- XslTransform.cs
- WsdlEndpointConversionContext.cs
- _SafeNetHandles.cs
- BitmapEffect.cs
- TabPage.cs
- CompatibleComparer.cs
- AssemblyAttributesGoHere.cs
- EventWaitHandle.cs
- CodeTypeParameterCollection.cs
- ExceptionTrace.cs
- ResourceIDHelper.cs
- FontEmbeddingManager.cs
- WorkflowOperationFault.cs
- ServicePoint.cs
- CustomAttribute.cs
- ActivityPreviewDesigner.cs
- cookie.cs
- EditorPartCollection.cs
- TableCell.cs
- JournalNavigationScope.cs
- KeyTimeConverter.cs
- GeometryConverter.cs
- TreeNodeBindingDepthConverter.cs
- ListViewGroupItemCollection.cs
- DesignTimeHTMLTextWriter.cs
- ToolStripDropDownClosingEventArgs.cs
- Image.cs
- EncryptedType.cs
- ProfileModule.cs
- Listbox.cs
- Container.cs
- ShaderEffect.cs
- CorrelationResolver.cs
- EventDescriptor.cs
- TextEndOfSegment.cs
- RefreshPropertiesAttribute.cs
- CultureMapper.cs
- Literal.cs
- CustomCredentialPolicy.cs
- followingsibling.cs
- ThreadExceptionEvent.cs
- DeferredRunTextReference.cs
- SamlAssertion.cs
- WebEncodingValidator.cs
- SqlUserDefinedTypeAttribute.cs
- VScrollProperties.cs
- UriSection.cs
- SmtpNtlmAuthenticationModule.cs
- PartitionerStatic.cs
- FontStretchConverter.cs
- CheckBoxBaseAdapter.cs
- DesignerActionHeaderItem.cs
- EmbeddedObject.cs
- ScriptResourceHandler.cs
- WebPartConnectionsConnectVerb.cs
- HttpApplicationStateBase.cs
- Double.cs