Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / CodeDOM / CodeSnippetCompileUnit.cs / 1 / CodeSnippetCompileUnit.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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
- SerializationEventsCache.cs
- FactoryRecord.cs
- ServiceXNameTypeConverter.cs
- XmlSchemaComplexContentRestriction.cs
- CompositionTarget.cs
- XPathItem.cs
- AttachmentCollection.cs
- FindCompletedEventArgs.cs
- AutomationElementCollection.cs
- InternalConfigSettingsFactory.cs
- ManipulationStartedEventArgs.cs
- MethodRental.cs
- Transactions.cs
- SatelliteContractVersionAttribute.cs
- ConsoleTraceListener.cs
- PublishLicense.cs
- NamedPipeHostedTransportConfiguration.cs
- CompiledELinqQueryState.cs
- OdbcConnection.cs
- WindowsScrollBarBits.cs
- MruCache.cs
- XPathAncestorQuery.cs
- EncodingStreamWrapper.cs
- DelayDesigner.cs
- SystemResourceHost.cs
- PathFigureCollection.cs
- ConnectionPointCookie.cs
- SrgsDocument.cs
- EntityClientCacheEntry.cs
- SuppressIldasmAttribute.cs
- SID.cs
- RSACryptoServiceProvider.cs
- SpinWait.cs
- PerCallInstanceContextProvider.cs
- WmlValidationSummaryAdapter.cs
- EntityDataSourceWrapper.cs
- SystemInfo.cs
- ProcessInfo.cs
- HttpDebugHandler.cs
- ConfigXmlElement.cs
- RegistryHandle.cs
- DataGridView.cs
- CriticalExceptions.cs
- Assert.cs
- HtmlGenericControl.cs
- XmlResolver.cs
- TableAutomationPeer.cs
- SchemaDeclBase.cs
- FactoryGenerator.cs
- DataGridLinkButton.cs
- WindowsToolbarAsMenu.cs
- OleDbDataReader.cs
- ArgumentException.cs
- WebUtil.cs
- TreeViewDesigner.cs
- ReachFixedDocumentSerializerAsync.cs
- LinearQuaternionKeyFrame.cs
- AssemblyBuilder.cs
- ActivityCollectionMarkupSerializer.cs
- EditCommandColumn.cs
- Classification.cs
- AutoFocusStyle.xaml.cs
- OleDbConnection.cs
- DataBindingHandlerAttribute.cs
- EditingCoordinator.cs
- AdRotatorDesigner.cs
- TemplateInstanceAttribute.cs
- ReadOnlyTernaryTree.cs
- HTTPNotFoundHandler.cs
- HuffmanTree.cs
- BigInt.cs
- MetadataSection.cs
- TemplateComponentConnector.cs
- IdentityValidationException.cs
- ConfigXmlAttribute.cs
- ScriptMethodAttribute.cs
- ReadOnlyNameValueCollection.cs
- MouseActionConverter.cs
- KnownBoxes.cs
- LingerOption.cs
- SimpleWorkerRequest.cs
- MatrixIndependentAnimationStorage.cs
- ToolStripPanelRow.cs
- RemotingServices.cs
- AnnotationMap.cs
- WebConfigurationManager.cs
- StreamHelper.cs
- XPathParser.cs
- PathTooLongException.cs
- XPathPatternBuilder.cs
- TableHeaderCell.cs
- PrinterSettings.cs
- ObjRef.cs
- XmlConverter.cs
- ConditionalAttribute.cs
- HyperLinkField.cs
- QuaternionRotation3D.cs
- ImpersonateTokenRef.cs
- PropertyValueUIItem.cs
- XmlHierarchicalDataSourceView.cs