Code:
/ DotNET / DotNET / 8.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;
///
///
/// Represents a snippet block of code.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeSnippetCompileUnit : CodeCompileUnit {
private string value;
private CodeLinePragma linePragma;
public CodeSnippetCompileUnit() {
}
public CodeSnippetCompileUnit(string value) {
Value = value;
}
///
///
/// Gets or sets
/// the snippet
/// text of the code block to represent.
///
///
public string Value {
get {
return (value == null) ? string.Empty : value;
}
set {
this.value = value;
}
}
///
///
/// The line the code block starts on.
///
///
public CodeLinePragma LinePragma {
get {
return linePragma;
}
set {
linePragma = value;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectRef.cs
- DateTimeConverter2.cs
- XmlSchemaGroup.cs
- ProxySimple.cs
- newitemfactory.cs
- DrawingContextDrawingContextWalker.cs
- BrowserCapabilitiesFactoryBase.cs
- PartitionResolver.cs
- XmlAttributeProperties.cs
- DesignSurfaceServiceContainer.cs
- securitycriticaldataformultiplegetandset.cs
- SignedPkcs7.cs
- UpdateTracker.cs
- Identity.cs
- DataGridViewCellPaintingEventArgs.cs
- HatchBrush.cs
- MultiAsyncResult.cs
- HotSpotCollectionEditor.cs
- Pens.cs
- TypedReference.cs
- SqlFacetAttribute.cs
- StrokeIntersection.cs
- Model3DGroup.cs
- DecoderFallback.cs
- Annotation.cs
- Control.cs
- RoutedEventValueSerializer.cs
- ZipArchive.cs
- DbProviderFactoriesConfigurationHandler.cs
- WorkflowTraceTransfer.cs
- PropertyNames.cs
- ObjectDataSourceMethodEventArgs.cs
- TextContainer.cs
- GenericEnumerator.cs
- OleDbTransaction.cs
- LineBreak.cs
- AuthorizationRule.cs
- CodeTypeDeclaration.cs
- WSDualHttpSecurityElement.cs
- RtfToken.cs
- TrackBarRenderer.cs
- XmlNamespaceMappingCollection.cs
- OletxResourceManager.cs
- MailDefinition.cs
- WebPartConnectionsConfigureVerb.cs
- SessionIDManager.cs
- Pkcs7Signer.cs
- _HeaderInfoTable.cs
- CngKeyCreationParameters.cs
- DependencyPropertyAttribute.cs
- MediaSystem.cs
- OleDbDataReader.cs
- CodeSubDirectory.cs
- CodeGenHelper.cs
- ConstantCheck.cs
- TogglePattern.cs
- HtmlGenericControl.cs
- FormDocumentDesigner.cs
- NativeMsmqMessage.cs
- PrintingPermissionAttribute.cs
- TextContainer.cs
- Page.cs
- TrackingWorkflowEventArgs.cs
- MergeFilterQuery.cs
- CharacterMetrics.cs
- WebServiceHost.cs
- BinaryParser.cs
- TextBoxBase.cs
- SystemGatewayIPAddressInformation.cs
- PromptEventArgs.cs
- SortedSetDebugView.cs
- ScriptingScriptResourceHandlerSection.cs
- StrongName.cs
- CodeMemberProperty.cs
- DispatcherHookEventArgs.cs
- FontDifferentiator.cs
- DispatcherEventArgs.cs
- ManagedFilter.cs
- HtmlFormParameterWriter.cs
- XmlDataLoader.cs
- updatecommandorderer.cs
- AsyncOperation.cs
- SafeMemoryMappedFileHandle.cs
- HMACRIPEMD160.cs
- UnmanagedMarshal.cs
- DoubleAnimation.cs
- FontStyleConverter.cs
- SoundPlayer.cs
- RegexCharClass.cs
- BigInt.cs
- XPathAncestorIterator.cs
- StreamGeometry.cs
- Decimal.cs
- CodeTypeParameter.cs
- PeerName.cs
- DataSourceControl.cs
- EncodingDataItem.cs
- FormsAuthenticationUserCollection.cs
- RectValueSerializer.cs
- LabelLiteral.cs