Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeSnippetCompileUnit.cs / 1305376 / CodeSnippetCompileUnit.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- XmlAnyElementAttribute.cs
- InputScopeNameConverter.cs
- GcSettings.cs
- ToolStripItemDesigner.cs
- FormDocumentDesigner.cs
- WSUtilitySpecificationVersion.cs
- EntityCommandDefinition.cs
- UsernameTokenFactoryCredential.cs
- BooleanSwitch.cs
- Inflater.cs
- Command.cs
- Int32CollectionConverter.cs
- StaticContext.cs
- OleDbTransaction.cs
- XNodeSchemaApplier.cs
- XsdBuilder.cs
- FontFamily.cs
- DependencyPropertyChangedEventArgs.cs
- DbConnectionStringBuilder.cs
- GradientStopCollection.cs
- ChildDocumentBlock.cs
- BitConverter.cs
- DeferredElementTreeState.cs
- TextRenderer.cs
- SettingsPropertyCollection.cs
- WebPartCancelEventArgs.cs
- BitmapFrameEncode.cs
- HealthMonitoringSectionHelper.cs
- TableItemPattern.cs
- IdnElement.cs
- DesignerTextWriter.cs
- SwitchAttribute.cs
- StringAnimationBase.cs
- ComponentChangingEvent.cs
- EdmMember.cs
- ProcessModule.cs
- RequestQueue.cs
- SqlDataSourceStatusEventArgs.cs
- coordinator.cs
- Substitution.cs
- webproxy.cs
- EncoderExceptionFallback.cs
- OdbcCommandBuilder.cs
- SaveCardRequest.cs
- GenericEnumConverter.cs
- ReadOnlyActivityGlyph.cs
- BitmapMetadataEnumerator.cs
- WorkflowDesigner.cs
- FormatterServices.cs
- WebPartCancelEventArgs.cs
- SystemMulticastIPAddressInformation.cs
- DataTableMapping.cs
- IteratorFilter.cs
- SQLConvert.cs
- HitTestResult.cs
- PropertyCondition.cs
- RewritingSimplifier.cs
- DesignerView.Commands.cs
- SiteMapPath.cs
- DeviceContext.cs
- ResXResourceWriter.cs
- CompositeActivityCodeGenerator.cs
- QueryableDataSourceHelper.cs
- NativeMethods.cs
- ParserHooks.cs
- ListenerAdaptersInstallComponent.cs
- Point3DCollection.cs
- SecurityRuntime.cs
- TableProviderWrapper.cs
- StrokeNodeOperations2.cs
- FixedSOMLineCollection.cs
- ExpressionBuilder.cs
- WpfMemberInvoker.cs
- TemplateGroupCollection.cs
- RowToFieldTransformer.cs
- PrintPreviewGraphics.cs
- EventSinkHelperWriter.cs
- DynamicValidatorEventArgs.cs
- IssuedTokenClientBehaviorsElement.cs
- TraceData.cs
- PackUriHelper.cs
- StringArrayConverter.cs
- WebUtility.cs
- ApplicationActivator.cs
- ZoneButton.cs
- TemplateInstanceAttribute.cs
- Privilege.cs
- NativeCompoundFileAPIs.cs
- GeneralTransform3DTo2DTo3D.cs
- ReachPageContentCollectionSerializerAsync.cs
- ParagraphVisual.cs
- ServiceBehaviorAttribute.cs
- SvcMapFile.cs
- RequestStatusBarUpdateEventArgs.cs
- ConsoleEntryPoint.cs
- InheritablePropertyChangeInfo.cs
- BindingExpressionBase.cs
- InputMethodStateChangeEventArgs.cs
- SqlCacheDependencySection.cs
- Thumb.cs