Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeSnippetCompileUnit.cs / 1305376 / CodeSnippetCompileUnit.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeSnippetCompileUnit : CodeCompileUnit { private string value; private CodeLinePragma linePragma; public CodeSnippetCompileUnit() { } public CodeSnippetCompileUnit(string value) { Value = value; } ////// Represents a snippet block of code. /// ////// public string Value { get { return (value == null) ? string.Empty : value; } set { this.value = value; } } ////// Gets or sets /// the snippet /// text of the code block to represent. /// ////// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The line the code block starts on. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeSnippetCompileUnit : CodeCompileUnit { private string value; private CodeLinePragma linePragma; public CodeSnippetCompileUnit() { } public CodeSnippetCompileUnit(string value) { Value = value; } ////// Represents a snippet block of code. /// ////// public string Value { get { return (value == null) ? string.Empty : value; } set { this.value = value; } } ////// Gets or sets /// the snippet /// text of the code block to represent. /// ////// public CodeLinePragma LinePragma { get { return linePragma; } set { linePragma = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The line the code block starts on. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartDisplayModeCollection.cs
- ClaimTypeRequirement.cs
- ContractDescription.cs
- _UncName.cs
- SuppressMessageAttribute.cs
- PolyQuadraticBezierSegment.cs
- ObjectListCommand.cs
- BindingCompleteEventArgs.cs
- HyperLinkColumn.cs
- TextEditorTyping.cs
- RoutedUICommand.cs
- CodeAssignStatement.cs
- EventEntry.cs
- SqlBinder.cs
- SoapSchemaExporter.cs
- UnsafeNativeMethodsCLR.cs
- ZipIOBlockManager.cs
- AssociationType.cs
- ResourcesChangeInfo.cs
- DesignTimeParseData.cs
- MouseEvent.cs
- MouseBinding.cs
- _NegotiateClient.cs
- SpecialFolderEnumConverter.cs
- TextControl.cs
- UnaryNode.cs
- CodeDirectionExpression.cs
- HotSpot.cs
- ScriptingSectionGroup.cs
- FrameworkReadOnlyPropertyMetadata.cs
- WebPartConnectionsCloseVerb.cs
- Solver.cs
- DataGridViewAccessibleObject.cs
- EntityTypeEmitter.cs
- TypeUsageBuilder.cs
- DrawItemEvent.cs
- PageHandlerFactory.cs
- MatrixCamera.cs
- ManagedWndProcTracker.cs
- CheckBox.cs
- RuleSettings.cs
- JsonEncodingStreamWrapper.cs
- SMSvcHost.cs
- DomainUpDown.cs
- TextEncodedRawTextWriter.cs
- WebUtil.cs
- SpellCheck.cs
- ObjectList.cs
- SqlBuffer.cs
- ToolbarAUtomationPeer.cs
- TypeConverterValueSerializer.cs
- SHA512.cs
- CompiledQueryCacheEntry.cs
- FileNameEditor.cs
- LinqDataSourceDeleteEventArgs.cs
- PointUtil.cs
- WinFormsUtils.cs
- TdsRecordBufferSetter.cs
- EventData.cs
- BridgeDataRecord.cs
- XmlKeywords.cs
- SmiContextFactory.cs
- XhtmlBasicControlAdapter.cs
- ReaderWriterLock.cs
- DynamicValueConverter.cs
- _StreamFramer.cs
- DataGridViewImageColumn.cs
- WindowsGraphics.cs
- XPathNavigator.cs
- OverlappedAsyncResult.cs
- TabletDeviceInfo.cs
- Literal.cs
- UpdatePanelTriggerCollection.cs
- XmlIncludeAttribute.cs
- LinqDataSourceDisposeEventArgs.cs
- DynamicMethod.cs
- GridViewSelectEventArgs.cs
- PeerNameRecordCollection.cs
- ErrorFormatterPage.cs
- GuidTagList.cs
- XsltSettings.cs
- LinqDataSourceDeleteEventArgs.cs
- HostingPreferredMapPath.cs
- CursorConverter.cs
- SiteMapDataSourceView.cs
- DES.cs
- RelationalExpressions.cs
- FixedSOMPage.cs
- StateBag.cs
- StandardToolWindows.cs
- Geometry.cs
- XmlSchemas.cs
- TaiwanCalendar.cs
- MetadataCache.cs
- XPathAxisIterator.cs
- ResXBuildProvider.cs
- ArgIterator.cs
- TdsRecordBufferSetter.cs
- FocusTracker.cs
- AsymmetricSecurityBindingElement.cs