Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / CodeBlockBuilder.cs / 1305376 / CodeBlockBuilder.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Handle <%= ... %>, <% ... %>, <%# ... %>, <%: ... %> 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, // <%# ... %> EncodedExpression // <%: ... %> } } // 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
- GeneratedView.cs
- ProgressiveCrcCalculatingStream.cs
- PackageProperties.cs
- CharStorage.cs
- JsonWriterDelegator.cs
- RSAOAEPKeyExchangeFormatter.cs
- XmlNamespaceManager.cs
- SafeEventLogReadHandle.cs
- FontSourceCollection.cs
- FastPropertyAccessor.cs
- DetailsViewCommandEventArgs.cs
- ElementUtil.cs
- Bits.cs
- ObjectPropertyMapping.cs
- DynamicScriptObject.cs
- QilPatternVisitor.cs
- UxThemeWrapper.cs
- DictionaryEditChange.cs
- BamlTreeUpdater.cs
- SafeLocalMemHandle.cs
- AssemblySettingAttributes.cs
- LinqDataSourceInsertEventArgs.cs
- TablePatternIdentifiers.cs
- ImageKeyConverter.cs
- HtmlTernaryTree.cs
- DataServiceProviderMethods.cs
- DataGridColumnHeaderAutomationPeer.cs
- ElementAtQueryOperator.cs
- BaseUriHelper.cs
- ExpressionVisitor.cs
- LicenseProviderAttribute.cs
- MailBnfHelper.cs
- DbConnectionPoolGroupProviderInfo.cs
- WinFormsComponentEditor.cs
- DataListDesigner.cs
- ChangeConflicts.cs
- UnmanagedBitmapWrapper.cs
- SchemaElementLookUpTable.cs
- SQLMoney.cs
- KnownBoxes.cs
- XmlNavigatorStack.cs
- Privilege.cs
- DataServiceProviderWrapper.cs
- DemultiplexingClientMessageFormatter.cs
- FixedSOMTextRun.cs
- Tool.cs
- MimePart.cs
- CheckBox.cs
- XmlSchemaSimpleTypeList.cs
- ObservableDictionary.cs
- PropertyPathConverter.cs
- DataGridRowEventArgs.cs
- StrokeNodeOperations2.cs
- PropertyGridView.cs
- DateTimeOffsetStorage.cs
- Int16Converter.cs
- MultiViewDesigner.cs
- BatchParser.cs
- SystemInformation.cs
- GACIdentityPermission.cs
- ApplicationSecurityManager.cs
- SafeRegistryHandle.cs
- CodeCommentStatementCollection.cs
- MessageLogger.cs
- TokenBasedSetEnumerator.cs
- HttpHandlerAction.cs
- TraceListeners.cs
- DataAccessException.cs
- RelationshipEndCollection.cs
- CommentAction.cs
- WindowCollection.cs
- ByteStreamBufferedMessageData.cs
- DoubleLinkListEnumerator.cs
- MembershipPasswordException.cs
- CompositeDataBoundControl.cs
- SQLGuid.cs
- CodeDirectoryCompiler.cs
- DrawingGroup.cs
- FixedPageStructure.cs
- ScopelessEnumAttribute.cs
- AttributeExtensions.cs
- VariantWrapper.cs
- DataRow.cs
- OleDbTransaction.cs
- DataGridViewToolTip.cs
- CharConverter.cs
- GeneratedContractType.cs
- _AutoWebProxyScriptEngine.cs
- ChtmlTextWriter.cs
- CompositeFontParser.cs
- XmlSchemaObject.cs
- MenuItemAutomationPeer.cs
- MultiSelector.cs
- FocusChangedEventArgs.cs
- DelimitedListTraceListener.cs
- securitycriticaldataClass.cs
- SQLString.cs
- AsynchronousChannel.cs
- ComplexType.cs
- StorageEndPropertyMapping.cs