Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// The line the code block starts on. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MappingItemCollection.cs
- TypeResolver.cs
- CatalogPartCollection.cs
- GrammarBuilderPhrase.cs
- NodeInfo.cs
- HttpGetServerProtocol.cs
- PrintPreviewGraphics.cs
- SqlConnectionStringBuilder.cs
- SecondaryIndex.cs
- ElementProxy.cs
- SqlVisitor.cs
- PasswordDeriveBytes.cs
- SqlDataReaderSmi.cs
- MdiWindowListStrip.cs
- SimpleBitVector32.cs
- SqlRowUpdatingEvent.cs
- FilterableData.cs
- XMLSyntaxException.cs
- GlyphsSerializer.cs
- DetailsViewInsertEventArgs.cs
- ParagraphVisual.cs
- precedingsibling.cs
- FastEncoderWindow.cs
- DataSourceGroupCollection.cs
- BitmapCache.cs
- TokenFactoryBase.cs
- FloaterParaClient.cs
- ArrangedElementCollection.cs
- SyntaxCheck.cs
- JournalEntryListConverter.cs
- HostedHttpTransportManager.cs
- DataPointer.cs
- Gdiplus.cs
- ObjectDesignerDataSourceView.cs
- RangeValidator.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- TextLineResult.cs
- FileDetails.cs
- XmlMtomWriter.cs
- ErrorProvider.cs
- InvalidProgramException.cs
- _AcceptOverlappedAsyncResult.cs
- GeometryDrawing.cs
- GeneralTransform3DTo2D.cs
- ValueQuery.cs
- HttpCapabilitiesSectionHandler.cs
- HttpDebugHandler.cs
- TypePropertyEditor.cs
- NativeMethods.cs
- DbConnectionClosed.cs
- StylusOverProperty.cs
- CorruptingExceptionCommon.cs
- NullableBoolConverter.cs
- MachineKeyConverter.cs
- EdmItemCollection.cs
- SqlDataSourceQueryEditorForm.cs
- SvcMapFile.cs
- TypePropertyEditor.cs
- TimeSpanConverter.cs
- FieldNameLookup.cs
- CurrentTimeZone.cs
- Int16KeyFrameCollection.cs
- SafeNativeMethodsCLR.cs
- UnorderedHashRepartitionStream.cs
- RemotingException.cs
- CriticalHandle.cs
- BindingCompleteEventArgs.cs
- PauseStoryboard.cs
- Cursors.cs
- ZoomingMessageFilter.cs
- DrawingImage.cs
- DbConnectionStringBuilder.cs
- ObjectToken.cs
- MultiTouchSystemGestureLogic.cs
- EvidenceTypeDescriptor.cs
- Region.cs
- ReflectEventDescriptor.cs
- FieldNameLookup.cs
- QuaternionIndependentAnimationStorage.cs
- ToolStripStatusLabel.cs
- NetNamedPipeSecurityElement.cs
- CachedPathData.cs
- StrokeCollectionDefaultValueFactory.cs
- ToolStripGripRenderEventArgs.cs
- CalendarDay.cs
- BufferModesCollection.cs
- SqlVisitor.cs
- SQLBinary.cs
- ParameterToken.cs
- TextBoxDesigner.cs
- ExtensionFile.cs
- OdbcException.cs
- ArgumentNullException.cs
- DataGridViewRowsAddedEventArgs.cs
- List.cs
- SqlBooleanMismatchVisitor.cs
- CodeDomDesignerLoader.cs
- ResourcesBuildProvider.cs
- ProgressBarRenderer.cs
- ConnectionPointConverter.cs