Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / CodeBlockBuilder.cs / 1 / CodeBlockBuilder.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Handle <%= ... %>, <% ... %> and <%# ... %> blocks * * Copyright (c) 1998 Microsoft Corporation */ namespace System.Web.UI { using System; using System.IO; internal class CodeBlockBuilder : ControlBuilder { protected CodeBlockType _blockType; protected string _content; private int _column; internal CodeBlockBuilder(CodeBlockType blockType, string content, int lineNumber, int column, VirtualPath virtualPath) { _content = content; _blockType = blockType; _column = column; Line = lineNumber; VirtualPath = virtualPath; } public override object BuildObject() { return null; } internal /*public*/ string Content { get { return _content; } } internal /*public*/ CodeBlockType BlockType { get { return _blockType;} } internal int Column { get { return _column; } } } internal enum CodeBlockType { Code, // <% ... %> Expression, // <%= ... %> DataBinding // <%# ... %> } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Handle <%= ... %>, <% ... %> and <%# ... %> blocks * * Copyright (c) 1998 Microsoft Corporation */ namespace System.Web.UI { using System; using System.IO; internal class CodeBlockBuilder : ControlBuilder { protected CodeBlockType _blockType; protected string _content; private int _column; internal CodeBlockBuilder(CodeBlockType blockType, string content, int lineNumber, int column, VirtualPath virtualPath) { _content = content; _blockType = blockType; _column = column; Line = lineNumber; VirtualPath = virtualPath; } public override object BuildObject() { return null; } internal /*public*/ string Content { get { return _content; } } internal /*public*/ CodeBlockType BlockType { get { return _blockType;} } internal int Column { get { return _column; } } } internal enum CodeBlockType { Code, // <% ... %> Expression, // <%= ... %> DataBinding // <%# ... %> } } // 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
- MsiStyleLogWriter.cs
- ButtonColumn.cs
- ConfigurationPropertyCollection.cs
- StringKeyFrameCollection.cs
- WebPartConnectionsCancelEventArgs.cs
- RIPEMD160.cs
- WebBrowsableAttribute.cs
- ClientTarget.cs
- Pkcs9Attribute.cs
- SamlAuthenticationClaimResource.cs
- DataGridColumnHeader.cs
- SQLDateTimeStorage.cs
- ILGenerator.cs
- RtfNavigator.cs
- Padding.cs
- WebRequestModuleElementCollection.cs
- OrderedDictionary.cs
- WmlCalendarAdapter.cs
- ValidationResult.cs
- DesignTimeVisibleAttribute.cs
- InvokePattern.cs
- RoleGroupCollection.cs
- XpsFilter.cs
- ScrollData.cs
- _FtpControlStream.cs
- XhtmlCssHandler.cs
- WindowsRebar.cs
- TypeProvider.cs
- MouseButtonEventArgs.cs
- WebPartTransformerCollection.cs
- CmsInterop.cs
- SingletonInstanceContextProvider.cs
- AnimatedTypeHelpers.cs
- SettingsAttributeDictionary.cs
- RegexBoyerMoore.cs
- XmlReturnWriter.cs
- RoutedPropertyChangedEventArgs.cs
- MiniCustomAttributeInfo.cs
- UITypeEditor.cs
- FrameAutomationPeer.cs
- UserPreferenceChangedEventArgs.cs
- MimeParameters.cs
- StreamingContext.cs
- ResourceExpression.cs
- SolidColorBrush.cs
- IndexedString.cs
- WebBrowserHelper.cs
- ElementProxy.cs
- Utils.cs
- BidirectionalDictionary.cs
- WindowsTokenRoleProvider.cs
- CalendarDateChangedEventArgs.cs
- QilStrConcat.cs
- InfiniteTimeSpanConverter.cs
- GuidConverter.cs
- UIElementPropertyUndoUnit.cs
- ItemsPanelTemplate.cs
- TypePropertyEditor.cs
- DSASignatureDeformatter.cs
- ContentElement.cs
- ServiceDurableInstanceContextProvider.cs
- DataView.cs
- _NestedSingleAsyncResult.cs
- IUnknownConstantAttribute.cs
- XhtmlBasicLinkAdapter.cs
- CompositeFontInfo.cs
- IxmlLineInfo.cs
- AdvancedBindingPropertyDescriptor.cs
- ManagedWndProcTracker.cs
- PrimitiveXmlSerializers.cs
- OdbcCommand.cs
- StorageScalarPropertyMapping.cs
- OdbcUtils.cs
- HeaderedContentControl.cs
- ContextStaticAttribute.cs
- DBParameter.cs
- WebEventTraceProvider.cs
- Perspective.cs
- SignHashRequest.cs
- ReadOnlyDictionary.cs
- LineInfo.cs
- categoryentry.cs
- HttpModulesSection.cs
- QueryAccessibilityHelpEvent.cs
- WebPartRestoreVerb.cs
- RuntimeHelpers.cs
- StringUtil.cs
- KeyGesture.cs
- MonthCalendar.cs
- UITypeEditors.cs
- FrugalMap.cs
- ScriptingSectionGroup.cs
- TextContainerChangeEventArgs.cs
- Animatable.cs
- XmlNavigatorStack.cs
- CharKeyFrameCollection.cs
- ObjectHandle.cs
- XPathParser.cs
- AdRotator.cs
- CustomDictionarySources.cs