Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DbConnectionPoolOptions.cs
- CellTreeNodeVisitors.cs
- IndexedGlyphRun.cs
- Classification.cs
- DataColumnPropertyDescriptor.cs
- GenericQueueSurrogate.cs
- _SslSessionsCache.cs
- DataSourceControl.cs
- ByteStreamGeometryContext.cs
- EventLog.cs
- ParserHooks.cs
- UniqueID.cs
- DetailsViewRow.cs
- TargetConverter.cs
- Html32TextWriter.cs
- RSAProtectedConfigurationProvider.cs
- PrimitiveRenderer.cs
- SerializationHelper.cs
- Privilege.cs
- LZCodec.cs
- Thumb.cs
- DeferredSelectedIndexReference.cs
- PreProcessor.cs
- BooleanSwitch.cs
- OrthographicCamera.cs
- TransactionProtocolConverter.cs
- SendKeys.cs
- ResourcePart.cs
- UserCancellationException.cs
- MD5.cs
- ContentDefinition.cs
- DefaultTextStoreTextComposition.cs
- FunctionGenerator.cs
- isolationinterop.cs
- WindowsScroll.cs
- TdsParserStaticMethods.cs
- InputLangChangeRequestEvent.cs
- SQLChars.cs
- MissingFieldException.cs
- NodeFunctions.cs
- DataGridViewBindingCompleteEventArgs.cs
- EnumUnknown.cs
- ModelChangedEventArgsImpl.cs
- InputLanguageEventArgs.cs
- _DomainName.cs
- ACE.cs
- SiteMapDataSource.cs
- RequiredFieldValidator.cs
- HandleRef.cs
- XmlComment.cs
- XmlEntityReference.cs
- ServiceEndpointElement.cs
- StyleSheetDesigner.cs
- SoapIncludeAttribute.cs
- TextRangeBase.cs
- SqlRewriteScalarSubqueries.cs
- BitmapDecoder.cs
- UriWriter.cs
- NamespaceInfo.cs
- CancellationTokenSource.cs
- COM2EnumConverter.cs
- CipherData.cs
- MergeFailedEvent.cs
- _TLSstream.cs
- NotifyParentPropertyAttribute.cs
- SqlClientWrapperSmiStream.cs
- DirectoryRedirect.cs
- FileDialog.cs
- UnsafeNativeMethods.cs
- GenericPrincipal.cs
- Material.cs
- OleDbError.cs
- EdmProperty.cs
- LinkUtilities.cs
- DoubleLinkListEnumerator.cs
- XmlLangPropertyAttribute.cs
- Wizard.cs
- ExpressionLink.cs
- TextViewElement.cs
- AuthStoreRoleProvider.cs
- Maps.cs
- _TimerThread.cs
- SubpageParaClient.cs
- TreeViewItemAutomationPeer.cs
- ContextCorrelationInitializer.cs
- MD5CryptoServiceProvider.cs
- WsdlBuildProvider.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ValueSerializer.cs
- MasterPageCodeDomTreeGenerator.cs
- GeometryModel3D.cs
- ReversePositionQuery.cs
- ColorDialog.cs
- cache.cs
- WmpBitmapDecoder.cs
- SqlEnums.cs
- ExecutionContext.cs
- AudioFormatConverter.cs
- ToolboxComponentsCreatedEventArgs.cs
- UserControlAutomationPeer.cs