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
- SafeFileMappingHandle.cs
- SamlAuthorizationDecisionClaimResource.cs
- BufferedGraphicsManager.cs
- DEREncoding.cs
- MenuAdapter.cs
- ButtonField.cs
- MULTI_QI.cs
- DataGrid.cs
- regiisutil.cs
- MailMessage.cs
- Column.cs
- DescriptionAttribute.cs
- GlyphShapingProperties.cs
- ObjectDataSourceEventArgs.cs
- FileDialog_Vista_Interop.cs
- TypeExtensionConverter.cs
- XmlNamespaceDeclarationsAttribute.cs
- DictionaryKeyPropertyAttribute.cs
- ColorTransform.cs
- SerialPort.cs
- TreeViewEvent.cs
- CqlLexer.cs
- ImageMap.cs
- CollectionViewGroupInternal.cs
- MetadataArtifactLoaderComposite.cs
- SessionStateModule.cs
- SdlChannelSink.cs
- SynchronizationScope.cs
- FixedSOMTable.cs
- TextDecorationCollectionConverter.cs
- ViewBase.cs
- DependentTransaction.cs
- _TransmitFileOverlappedAsyncResult.cs
- ListParagraph.cs
- PartialTrustVisibleAssembly.cs
- TypedElement.cs
- XmlDataCollection.cs
- QueryCreatedEventArgs.cs
- EventMappingSettingsCollection.cs
- ModelFactory.cs
- OverlappedContext.cs
- ToolStripItemTextRenderEventArgs.cs
- filewebresponse.cs
- RestClientProxyHandler.cs
- Latin1Encoding.cs
- ResourceContainer.cs
- SessionIDManager.cs
- MatrixCamera.cs
- WindowsAuthenticationModule.cs
- ReferenceEqualityComparer.cs
- DataGridViewElement.cs
- DataGrid.cs
- Bitmap.cs
- PixelFormat.cs
- DocumentPageHost.cs
- AssemblyBuilderData.cs
- SelectionWordBreaker.cs
- NativeBuffer.cs
- FontCollection.cs
- BmpBitmapDecoder.cs
- AppDomainCompilerProxy.cs
- MessageDecoder.cs
- RawStylusInput.cs
- HtmlButton.cs
- ToolBar.cs
- ProcessModelInfo.cs
- mediaeventshelper.cs
- Span.cs
- ErrorProvider.cs
- BoundsDrawingContextWalker.cs
- XMLSyntaxException.cs
- AsyncStreamReader.cs
- AddInSegmentDirectoryNotFoundException.cs
- ObjectDataSourceEventArgs.cs
- ChtmlPageAdapter.cs
- SignerInfo.cs
- MultipartIdentifier.cs
- DriveNotFoundException.cs
- AxWrapperGen.cs
- AuthenticationSection.cs
- ByteArrayHelperWithString.cs
- EntityDataSourceChangingEventArgs.cs
- EventLogReader.cs
- ItemsControl.cs
- UnicodeEncoding.cs
- Int32CollectionValueSerializer.cs
- SchemaAttDef.cs
- PropertyManager.cs
- DotExpr.cs
- ValueExpressions.cs
- CodeTypeDelegate.cs
- HttpModuleActionCollection.cs
- EdgeModeValidation.cs
- Base64WriteStateInfo.cs
- LinkDescriptor.cs
- CalendarAutoFormat.cs
- TemplateContent.cs
- DependencyObjectPropertyDescriptor.cs
- FileDialogCustomPlacesCollection.cs
- ExceptionValidationRule.cs