Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeSnippetStatement.cs / 1305376 / CodeSnippetStatement.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 statement.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeSnippetStatement : CodeStatement {
private string value;
///
///
/// Initializes a new instance of .
///
///
public CodeSnippetStatement() {
}
///
///
/// Initializes a new instance of using the specified snippet
/// of code.
///
///
public CodeSnippetStatement(string value) {
Value = value;
}
///
///
/// Gets or sets the snippet statement.
///
///
public string Value {
get {
return (value == null) ? string.Empty : value;
}
set {
this.value = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
//
// [....]
// 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 statement.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeSnippetStatement : CodeStatement {
private string value;
///
///
/// Initializes a new instance of .
///
///
public CodeSnippetStatement() {
}
///
///
/// Initializes a new instance of using the specified snippet
/// of code.
///
///
public CodeSnippetStatement(string value) {
Value = value;
}
///
///
/// Gets or sets the snippet statement.
///
///
public string Value {
get {
return (value == null) ? string.Empty : value;
}
set {
this.value = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlTextWriter.cs
- Socket.cs
- ObfuscationAttribute.cs
- UdpDiscoveryMessageFilter.cs
- Char.cs
- EpmContentSerializerBase.cs
- VectorAnimationBase.cs
- DataSourceCollectionBase.cs
- CollectionViewProxy.cs
- PieceNameHelper.cs
- FontSizeConverter.cs
- XmlSerializationReader.cs
- AssociatedControlConverter.cs
- ResXBuildProvider.cs
- AnnotationHelper.cs
- CrossContextChannel.cs
- Block.cs
- FunctionImportMapping.cs
- WinFormsUtils.cs
- FilePrompt.cs
- TraceHandler.cs
- DataGridViewColumnTypePicker.cs
- IDQuery.cs
- MatrixKeyFrameCollection.cs
- GridViewUpdatedEventArgs.cs
- _ConnectionGroup.cs
- InputEventArgs.cs
- DataGridRowEventArgs.cs
- ConstraintStruct.cs
- MarkupExtensionReturnTypeAttribute.cs
- wmiprovider.cs
- CodeGroup.cs
- SR.cs
- WorkflowInstanceQuery.cs
- ListItemViewControl.cs
- QuotaExceededException.cs
- TagPrefixInfo.cs
- BoundPropertyEntry.cs
- ReadOnlyDictionary.cs
- ListControlConvertEventArgs.cs
- CurrentChangingEventArgs.cs
- KeySplineConverter.cs
- XmlEncodedRawTextWriter.cs
- WindowsProgressbar.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- Symbol.cs
- AuthorizationRule.cs
- XmlSerializationGeneratedCode.cs
- CompositeTypefaceMetrics.cs
- CacheEntry.cs
- FlowThrottle.cs
- AssociationTypeEmitter.cs
- TypeSystem.cs
- DirectoryObjectSecurity.cs
- VScrollBar.cs
- Utilities.cs
- CodeCastExpression.cs
- XmlIgnoreAttribute.cs
- StylusShape.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ProcessModelInfo.cs
- UpdatableWrapper.cs
- RuntimeIdentifierPropertyAttribute.cs
- DeleteMemberBinder.cs
- UrlMappingsSection.cs
- CreateParams.cs
- XmlSerializationReader.cs
- HScrollBar.cs
- DropShadowEffect.cs
- StructureChangedEventArgs.cs
- TemplateContent.cs
- TogglePatternIdentifiers.cs
- ChtmlPageAdapter.cs
- PtsHelper.cs
- ConsumerConnectionPointCollection.cs
- ModulesEntry.cs
- InputLanguageProfileNotifySink.cs
- File.cs
- DataGridColumnFloatingHeader.cs
- CustomErrorsSectionWrapper.cs
- QilInvokeEarlyBound.cs
- ExceptionHandlerDesigner.cs
- ColorAnimationBase.cs
- StructuredProperty.cs
- XmlException.cs
- UnionExpr.cs
- XamlSerializerUtil.cs
- __Error.cs
- TrackingConditionCollection.cs
- HttpCapabilitiesBase.cs
- AsyncSerializedWorker.cs
- ItemsPresenter.cs
- Bitmap.cs
- HttpConfigurationContext.cs
- RoutedEventValueSerializer.cs
- RegistrationServices.cs
- CollectionDataContractAttribute.cs
- TextFormatter.cs
- _TransmitFileOverlappedAsyncResult.cs
- Serializer.cs