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
- complextypematerializer.cs
- MemberRelationshipService.cs
- ConfigurationLockCollection.cs
- DrawListViewSubItemEventArgs.cs
- ScriptReferenceBase.cs
- DbgUtil.cs
- AutoGeneratedFieldProperties.cs
- FileUpload.cs
- DirectoryObjectSecurity.cs
- XmlComment.cs
- ListViewItemSelectionChangedEvent.cs
- dsa.cs
- AssemblyHash.cs
- UniqueContractNameValidationBehavior.cs
- SpanIndex.cs
- ImageCodecInfo.cs
- IOException.cs
- RepeaterCommandEventArgs.cs
- SqlOuterApplyReducer.cs
- AudienceUriMode.cs
- InputBuffer.cs
- SqlXmlStorage.cs
- Automation.cs
- GlyphingCache.cs
- GcHandle.cs
- DataGridViewColumnTypePicker.cs
- AsnEncodedData.cs
- TableDetailsRow.cs
- BinaryFormatter.cs
- OverflowException.cs
- TabletCollection.cs
- _ScatterGatherBuffers.cs
- InvalidPrinterException.cs
- SizeKeyFrameCollection.cs
- EastAsianLunisolarCalendar.cs
- ScriptModule.cs
- Bitmap.cs
- DateTimeParse.cs
- WpfXamlMember.cs
- DataTable.cs
- basecomparevalidator.cs
- Query.cs
- FormsAuthenticationModule.cs
- TimelineGroup.cs
- SaveFileDialog.cs
- CommentEmitter.cs
- ListViewItemMouseHoverEvent.cs
- DataBindingCollection.cs
- HelpFileFileNameEditor.cs
- ConsoleKeyInfo.cs
- XmlWriterSettings.cs
- ParseElementCollection.cs
- StringWriter.cs
- connectionpool.cs
- WebPartMovingEventArgs.cs
- Util.cs
- FileInfo.cs
- FixedLineResult.cs
- Material.cs
- SurrogateChar.cs
- FormViewInsertedEventArgs.cs
- TextAction.cs
- BasePropertyDescriptor.cs
- TransactionTraceIdentifier.cs
- OleDbError.cs
- EdmComplexTypeAttribute.cs
- PointAnimation.cs
- ObjectStateManager.cs
- ObjectStateManagerMetadata.cs
- OdbcConnectionHandle.cs
- SecUtil.cs
- TranslateTransform.cs
- ComponentCache.cs
- RecommendedAsConfigurableAttribute.cs
- ServiceDesigner.cs
- CallTemplateAction.cs
- AuthenticationConfig.cs
- MediaTimeline.cs
- XamlUtilities.cs
- SoundPlayerAction.cs
- FontInfo.cs
- DataServiceHostFactory.cs
- MappingMetadataHelper.cs
- NaturalLanguageHyphenator.cs
- DynamicObject.cs
- ListMarkerSourceInfo.cs
- WebBrowsableAttribute.cs
- RuntimeIdentifierPropertyAttribute.cs
- diagnosticsswitches.cs
- ExpandSegmentCollection.cs
- altserialization.cs
- CodeTypeReferenceCollection.cs
- ParameterRetriever.cs
- HierarchicalDataSourceControl.cs
- PersonalizablePropertyEntry.cs
- DataMemberAttribute.cs
- Schema.cs
- X509SecurityTokenParameters.cs
- FixUpCollection.cs
- NameValueFileSectionHandler.cs