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
- XPathAncestorIterator.cs
- ClientFormsAuthenticationMembershipProvider.cs
- ReservationNotFoundException.cs
- Int16Converter.cs
- ZipIOExtraFieldZip64Element.cs
- RootCodeDomSerializer.cs
- DispatcherObject.cs
- SvcMapFileSerializer.cs
- DbReferenceCollection.cs
- PriorityRange.cs
- CultureNotFoundException.cs
- OleDbRowUpdatingEvent.cs
- FixedBufferAttribute.cs
- ResourceExpressionBuilder.cs
- PackageStore.cs
- AtomContentProperty.cs
- ThreadExceptionEvent.cs
- ImplicitInputBrush.cs
- GridViewColumnHeader.cs
- WorkItem.cs
- CodeTypeReferenceCollection.cs
- Utility.cs
- TreeIterator.cs
- EventLogPermissionEntryCollection.cs
- LogStore.cs
- GeneralTransform3DTo2D.cs
- ScopeCompiler.cs
- NonParentingControl.cs
- NamespaceEmitter.cs
- XmlWriterDelegator.cs
- SqlDataSourceView.cs
- InkCanvasSelection.cs
- HwndProxyElementProvider.cs
- TemplateColumn.cs
- Storyboard.cs
- TemplateBindingExpressionConverter.cs
- CacheSection.cs
- DataContext.cs
- HttpConfigurationSystem.cs
- ReachFixedPageSerializer.cs
- CommandPlan.cs
- SendActivity.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- HandlerBase.cs
- altserialization.cs
- TreeNodeCollection.cs
- ContentType.cs
- EventSourceCreationData.cs
- ItemContainerGenerator.cs
- SortExpressionBuilder.cs
- BoundPropertyEntry.cs
- XmlReader.cs
- ConfigurationElementProperty.cs
- ImageDrawing.cs
- NativeObjectSecurity.cs
- DefaultBindingPropertyAttribute.cs
- KeyFrames.cs
- DesignerSelectionListAdapter.cs
- TaskSchedulerException.cs
- Region.cs
- TreeChangeInfo.cs
- SqlDataSourceEnumerator.cs
- ConfigurationSectionGroupCollection.cs
- JsonClassDataContract.cs
- SmtpFailedRecipientsException.cs
- SrgsElementFactoryCompiler.cs
- SecurityAlgorithmSuite.cs
- StyleBamlRecordReader.cs
- ListViewDesigner.cs
- ContainerSelectorActiveEvent.cs
- InputElement.cs
- FastEncoder.cs
- DbInsertCommandTree.cs
- ActivationServices.cs
- WinCategoryAttribute.cs
- xamlnodes.cs
- DelegateHelpers.Generated.cs
- TabControlEvent.cs
- RangeContentEnumerator.cs
- DebugViewWriter.cs
- ListDictionary.cs
- SetStoryboardSpeedRatio.cs
- messageonlyhwndwrapper.cs
- StringUtil.cs
- SqlRowUpdatingEvent.cs
- UserPrincipalNameElement.cs
- SizeKeyFrameCollection.cs
- OdbcError.cs
- ProfileManager.cs
- GridViewPageEventArgs.cs
- ArrayElementGridEntry.cs
- ClientConfigurationSystem.cs
- IOThreadTimer.cs
- TextContainer.cs
- RemoteDebugger.cs
- FilterRepeater.cs
- CodeGenerator.cs
- VisualStyleRenderer.cs
- EntityRecordInfo.cs
- CatalogZone.cs