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
- CharStorage.cs
- Button.cs
- VisualTarget.cs
- ThreadStaticAttribute.cs
- CodePropertyReferenceExpression.cs
- TableSectionStyle.cs
- SqlGenericUtil.cs
- SetterBase.cs
- ADMembershipProvider.cs
- LinkConverter.cs
- DataRelation.cs
- WebConvert.cs
- Int64Converter.cs
- DashStyles.cs
- AttributeProviderAttribute.cs
- RangeBase.cs
- XmlDocumentFragment.cs
- ImageSourceConverter.cs
- TemplateBuilder.cs
- ControlParameter.cs
- TreeNodeClickEventArgs.cs
- Int32AnimationBase.cs
- ReservationCollection.cs
- SpotLight.cs
- Wrapper.cs
- HorizontalAlignConverter.cs
- ThreadAbortException.cs
- RolePrincipal.cs
- WmlValidatorAdapter.cs
- CustomErrorCollection.cs
- TaskFileService.cs
- BitArray.cs
- ComEventsInfo.cs
- EnumerableRowCollectionExtensions.cs
- QilVisitor.cs
- ExpanderAutomationPeer.cs
- ThreadStateException.cs
- StackSpiller.cs
- BrowserCapabilitiesCompiler.cs
- Nullable.cs
- SchemaCollectionPreprocessor.cs
- ScriptModule.cs
- ArgumentDesigner.xaml.cs
- ExpandedProjectionNode.cs
- DrawingBrush.cs
- TypeViewSchema.cs
- XmlSchemaAll.cs
- FrameworkEventSource.cs
- CacheOutputQuery.cs
- SqlDependencyUtils.cs
- InkCanvasFeedbackAdorner.cs
- ParameterEditorUserControl.cs
- StyleTypedPropertyAttribute.cs
- WebServiceData.cs
- Util.cs
- TransactionFilter.cs
- Transform.cs
- WebPartMenuStyle.cs
- MimeWriter.cs
- ConfigXmlComment.cs
- DataGridViewRowHeaderCell.cs
- streamingZipPartStream.cs
- InternalBase.cs
- Repeater.cs
- URLBuilder.cs
- Int16AnimationUsingKeyFrames.cs
- GraphicsContext.cs
- TCPClient.cs
- XmlSchemaSubstitutionGroup.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- CommandBinding.cs
- FillErrorEventArgs.cs
- sqlstateclientmanager.cs
- Menu.cs
- TrackingStringDictionary.cs
- _Semaphore.cs
- XmlSchemaAnyAttribute.cs
- FontFamily.cs
- ObfuscationAttribute.cs
- BinaryParser.cs
- HostProtectionException.cs
- BaseParser.cs
- BinHexEncoding.cs
- peersecurityelement.cs
- MetadataHelper.cs
- NamespaceCollection.cs
- XamlTypeWithExplicitNamespace.cs
- XmlSchemaParticle.cs
- BitmapPalette.cs
- TableItemPatternIdentifiers.cs
- AppDomainFactory.cs
- SignedInfo.cs
- MultiBindingExpression.cs
- EmptyStringExpandableObjectConverter.cs
- CommandExpr.cs
- SiteMembershipCondition.cs
- GlyphManager.cs
- FacetValueContainer.cs
- CommentAction.cs
- XPathSingletonIterator.cs