Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- JavaScriptObjectDeserializer.cs
- DataGridViewColumnHeaderCell.cs
- Size3DValueSerializer.cs
- CaseInsensitiveComparer.cs
- HttpCacheVary.cs
- SapiAttributeParser.cs
- MemberInitExpression.cs
- TextUtf8RawTextWriter.cs
- OptimisticConcurrencyException.cs
- LinearGradientBrush.cs
- TableDetailsCollection.cs
- DesignerSerializationOptionsAttribute.cs
- SqlMethodTransformer.cs
- MessageSecurityOverMsmqElement.cs
- MostlySingletonList.cs
- OutOfMemoryException.cs
- XmlAnyElementAttribute.cs
- FormViewCommandEventArgs.cs
- ButtonRenderer.cs
- Span.cs
- TextSegment.cs
- HwndSourceKeyboardInputSite.cs
- WindowAutomationPeer.cs
- ReceiveCompletedEventArgs.cs
- IPipelineRuntime.cs
- DllNotFoundException.cs
- DriveNotFoundException.cs
- ByteStreamGeometryContext.cs
- HwndSourceParameters.cs
- ClientScriptManager.cs
- CustomValidator.cs
- XomlCompilerHelpers.cs
- IisTraceListener.cs
- IProvider.cs
- OdbcDataAdapter.cs
- Expression.cs
- TreeViewAutomationPeer.cs
- EventPrivateKey.cs
- DataFormat.cs
- ImageSourceConverter.cs
- Shape.cs
- PopupRootAutomationPeer.cs
- XmlSchemaNotation.cs
- LinqDataSourceStatusEventArgs.cs
- MonthCalendarDesigner.cs
- ExpandSegment.cs
- DATA_BLOB.cs
- StylusSystemGestureEventArgs.cs
- SQLByteStorage.cs
- XamlBuildProvider.cs
- OrderByQueryOptionExpression.cs
- TypeUtils.cs
- XsltFunctions.cs
- DataGridViewCellValidatingEventArgs.cs
- CreateWorkflowOwnerCommand.cs
- TemplatedAdorner.cs
- AQNBuilder.cs
- PEFileEvidenceFactory.cs
- ETagAttribute.cs
- BasicKeyConstraint.cs
- StubHelpers.cs
- UnsafeNativeMethods.cs
- CompositeKey.cs
- ExitEventArgs.cs
- TextAnchor.cs
- DesignerView.cs
- BamlRecordWriter.cs
- InternalEnumValidatorAttribute.cs
- Splitter.cs
- NetSectionGroup.cs
- RIPEMD160Managed.cs
- CompiledXpathExpr.cs
- RegistrationServices.cs
- PropertyValueUIItem.cs
- StylusButtonEventArgs.cs
- SmtpMail.cs
- MetadataPropertyCollection.cs
- MediaPlayerState.cs
- FullTrustAssembly.cs
- LazyTextWriterCreator.cs
- SoapCodeExporter.cs
- GcHandle.cs
- ExtenderProvidedPropertyAttribute.cs
- Debug.cs
- DynamicField.cs
- SelectionEditor.cs
- TemplateBindingExtension.cs
- NetNamedPipeSecurityMode.cs
- SplitterCancelEvent.cs
- NativeMethods.cs
- ProfileServiceManager.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- _SSPISessionCache.cs
- WebPartTransformerAttribute.cs
- SystemGatewayIPAddressInformation.cs
- ExpressionBuilderContext.cs
- TraceHandler.cs
- ManagementInstaller.cs
- OleDbDataReader.cs
- HttpHandlerActionCollection.cs