Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TdsValueSetter.cs
- BuilderInfo.cs
- DispatcherEventArgs.cs
- InputGestureCollection.cs
- StateMachineSubscriptionManager.cs
- DataGridViewRowPrePaintEventArgs.cs
- GlobalProxySelection.cs
- x509store.cs
- SafeLocalMemHandle.cs
- InputLanguageCollection.cs
- MarshalByRefObject.cs
- BasicExpressionVisitor.cs
- InputScopeAttribute.cs
- TimeoutHelper.cs
- ContentType.cs
- ServiceModelConfigurationElementCollection.cs
- TypeConverterAttribute.cs
- ComplexTypeEmitter.cs
- AppPool.cs
- TimeSpanStorage.cs
- mda.cs
- RC2.cs
- TextEffectResolver.cs
- FloaterParaClient.cs
- DataMemberConverter.cs
- SqlDependency.cs
- ExtendedProperty.cs
- FacetChecker.cs
- ConfigXmlAttribute.cs
- Semaphore.cs
- ColorTransformHelper.cs
- FlatButtonAppearance.cs
- connectionpool.cs
- XmlSchemaComplexType.cs
- DependencyObject.cs
- RankException.cs
- ZoneButton.cs
- Ray3DHitTestResult.cs
- SqlDependencyListener.cs
- DetailsViewInsertEventArgs.cs
- PlaceHolder.cs
- versioninfo.cs
- DecimalFormatter.cs
- DocumentEventArgs.cs
- WmlTextViewAdapter.cs
- AxHost.cs
- SafeHandle.cs
- TransactionsSectionGroup.cs
- NavigationWindowAutomationPeer.cs
- Certificate.cs
- RowToFieldTransformer.cs
- LayoutInformation.cs
- TokenBasedSetEnumerator.cs
- TabControl.cs
- SessionState.cs
- Stroke2.cs
- WebBrowserDesigner.cs
- XmlEntityReference.cs
- PageEventArgs.cs
- GroupPartitionExpr.cs
- StylusPlugInCollection.cs
- StreamGeometryContext.cs
- CollectionContainer.cs
- SoapCodeExporter.cs
- AsymmetricSignatureFormatter.cs
- SerialStream.cs
- securitymgrsite.cs
- ScalarConstant.cs
- StorageEntityContainerMapping.cs
- StatusInfoItem.cs
- DbParameterHelper.cs
- WeakReadOnlyCollection.cs
- ExpressionBuilderContext.cs
- StringExpressionSet.cs
- Page.cs
- ObjectDisposedException.cs
- ExpressionEvaluator.cs
- SpellerStatusTable.cs
- AutomationPatternInfo.cs
- GlyphTypeface.cs
- TextFormatterImp.cs
- DbConnectionHelper.cs
- SystemColorTracker.cs
- CodeObjectCreateExpression.cs
- DataGridViewEditingControlShowingEventArgs.cs
- BitmapImage.cs
- HtmlUtf8RawTextWriter.cs
- DisplayNameAttribute.cs
- HtmlButton.cs
- CharEnumerator.cs
- ToolStrip.cs
- CachedTypeface.cs
- PseudoWebRequest.cs
- BasicCellRelation.cs
- PropertyGrid.cs
- AppSettingsExpressionBuilder.cs
- RecognizeCompletedEventArgs.cs
- CqlLexer.cs
- SchemaImporter.cs
- SHA1.cs