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
- SubMenuStyleCollection.cs
- TimerElapsedEvenArgs.cs
- BooleanFacetDescriptionElement.cs
- SiblingIterators.cs
- SecurityDescriptor.cs
- Renderer.cs
- Int64Converter.cs
- WebPartTransformerCollection.cs
- NameValueCollection.cs
- ManagementObjectSearcher.cs
- ApplicationSecurityManager.cs
- LoadWorkflowAsyncResult.cs
- BrowsableAttribute.cs
- LiteralSubsegment.cs
- WebEvents.cs
- Int16AnimationBase.cs
- followingquery.cs
- ReadOnlyObservableCollection.cs
- TraceContextRecord.cs
- UpdateProgress.cs
- Oid.cs
- CodeSubDirectory.cs
- TypeGeneratedEventArgs.cs
- AdditionalEntityFunctions.cs
- DesignRelation.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- DataColumnMapping.cs
- RIPEMD160.cs
- FormViewUpdatedEventArgs.cs
- ProfileProvider.cs
- TimeStampChecker.cs
- EntityDataSourceSelectedEventArgs.cs
- ProgressiveCrcCalculatingStream.cs
- ContentPlaceHolder.cs
- Size.cs
- LogEntryDeserializer.cs
- LocationUpdates.cs
- CroppedBitmap.cs
- BuildResult.cs
- DataExpression.cs
- Style.cs
- PageOutputQuality.cs
- TypeInfo.cs
- ThemeInfoAttribute.cs
- ClientUtils.cs
- WebPartCancelEventArgs.cs
- ExtensionQuery.cs
- DataGridViewHitTestInfo.cs
- ColumnHeaderCollectionEditor.cs
- Marshal.cs
- DataSpaceManager.cs
- Button.cs
- DocumentOrderQuery.cs
- OneOfConst.cs
- XPathSelfQuery.cs
- _UriTypeConverter.cs
- SqlNamer.cs
- UrlMappingCollection.cs
- HtmlDocument.cs
- SafeProcessHandle.cs
- SafeThreadHandle.cs
- EncodingTable.cs
- CultureTable.cs
- EmbeddedMailObjectsCollection.cs
- PageThemeBuildProvider.cs
- SqlCharStream.cs
- ReflectionTypeLoadException.cs
- RowUpdatingEventArgs.cs
- MemoryMappedViewAccessor.cs
- SQLInt32Storage.cs
- safelinkcollection.cs
- SqlDataSourceFilteringEventArgs.cs
- XmlSignificantWhitespace.cs
- Setter.cs
- ThreadInterruptedException.cs
- AutomationPatternInfo.cs
- UpdateDelegates.Generated.cs
- PropertyInfoSet.cs
- GridViewRowPresenter.cs
- TemplateGroupCollection.cs
- ImmutablePropertyDescriptorGridEntry.cs
- XPathNavigatorKeyComparer.cs
- HttpDictionary.cs
- XmlNodeChangedEventManager.cs
- EntryPointNotFoundException.cs
- XmlMemberMapping.cs
- XamlToRtfWriter.cs
- PageAction.cs
- LambdaCompiler.Unary.cs
- DbProviderFactories.cs
- EventMappingSettingsCollection.cs
- ConfigUtil.cs
- EdmError.cs
- RepeatBehaviorConverter.cs
- MenuItemStyleCollection.cs
- OperandQuery.cs
- GetPageCompletedEventArgs.cs
- ProfileManager.cs
- DBCSCodePageEncoding.cs
- WbemProvider.cs