Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCastExpression.cs / 1305376 / CodeCastExpression.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 CodeCastExpression : CodeExpression { private CodeTypeReference targetType; private CodeExpression expression; ////// Represents a /// type cast expression. /// ////// public CodeCastExpression() { } ////// Initializes a new instance of ///. /// /// public CodeCastExpression(CodeTypeReference targetType, CodeExpression expression) { TargetType = targetType; Expression = expression; } ////// Initializes a new instance of ///using the specified /// parameters. /// /// public CodeCastExpression(string targetType, CodeExpression expression) { TargetType = new CodeTypeReference(targetType); Expression = expression; } ///[To be supplied.] ////// public CodeCastExpression(Type targetType, CodeExpression expression) { TargetType = new CodeTypeReference(targetType); Expression = expression; } ///[To be supplied.] ////// public CodeTypeReference TargetType { get { if (targetType == null) { targetType = new CodeTypeReference(""); } return targetType; } set { targetType = value; } } ////// The target type of the cast. /// ////// public CodeExpression Expression { get { return expression; } set { expression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The expression to cast. /// ///// // //----------------------------------------------------------------------------- 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 CodeCastExpression : CodeExpression { private CodeTypeReference targetType; private CodeExpression expression; ////// Represents a /// type cast expression. /// ////// public CodeCastExpression() { } ////// Initializes a new instance of ///. /// /// public CodeCastExpression(CodeTypeReference targetType, CodeExpression expression) { TargetType = targetType; Expression = expression; } ////// Initializes a new instance of ///using the specified /// parameters. /// /// public CodeCastExpression(string targetType, CodeExpression expression) { TargetType = new CodeTypeReference(targetType); Expression = expression; } ///[To be supplied.] ////// public CodeCastExpression(Type targetType, CodeExpression expression) { TargetType = new CodeTypeReference(targetType); Expression = expression; } ///[To be supplied.] ////// public CodeTypeReference TargetType { get { if (targetType == null) { targetType = new CodeTypeReference(""); } return targetType; } set { targetType = value; } } ////// The target type of the cast. /// ////// public CodeExpression Expression { get { return expression; } set { expression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The expression to cast. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SynthesizerStateChangedEventArgs.cs
- LineServices.cs
- BamlBinaryWriter.cs
- ObjectHandle.cs
- MDIWindowDialog.cs
- HexParser.cs
- smtppermission.cs
- SoapCodeExporter.cs
- SafeFileMapViewHandle.cs
- SqlNamer.cs
- BamlTreeNode.cs
- CodeDirectoryCompiler.cs
- PathGradientBrush.cs
- ImageField.cs
- DebuggerAttributes.cs
- HtmlInputPassword.cs
- InputLanguage.cs
- ImageResources.Designer.cs
- ByteStack.cs
- EventEntry.cs
- InvalidOperationException.cs
- InfoCardArgumentException.cs
- DaylightTime.cs
- RectangleF.cs
- TransformedBitmap.cs
- VisualStyleRenderer.cs
- SerializationSectionGroup.cs
- TailPinnedEventArgs.cs
- SemanticValue.cs
- XPathMessageFilter.cs
- SizeF.cs
- SourceLineInfo.cs
- XmlSchemaImporter.cs
- DictionaryEntry.cs
- _SSPISessionCache.cs
- _StreamFramer.cs
- PropertyIDSet.cs
- ArraySubsetEnumerator.cs
- MonthCalendar.cs
- Configuration.cs
- CompositionCommandSet.cs
- Attributes.cs
- TTSEngineTypes.cs
- SelectionItemProviderWrapper.cs
- HttpCachePolicy.cs
- PartialArray.cs
- altserialization.cs
- TypeNameConverter.cs
- LinkLabelLinkClickedEvent.cs
- TypeSystemHelpers.cs
- ComponentCollection.cs
- QilPatternVisitor.cs
- ColorBlend.cs
- QuotedStringWriteStateInfo.cs
- AmbientEnvironment.cs
- DbParameterCollection.cs
- SendMessageChannelCache.cs
- PrintControllerWithStatusDialog.cs
- RegionInfo.cs
- SafeRightsManagementPubHandle.cs
- SettingsAttributeDictionary.cs
- ApplicationSecurityInfo.cs
- Context.cs
- documentsequencetextview.cs
- ExpressionPrinter.cs
- GridItemCollection.cs
- ListBox.cs
- ServiceInfo.cs
- DBConnection.cs
- ProfilePropertyMetadata.cs
- WpfPayload.cs
- COAUTHINFO.cs
- DesignerHelpers.cs
- ByteStack.cs
- TableAutomationPeer.cs
- SqlUDTStorage.cs
- Button.cs
- HttpEncoderUtility.cs
- HttpCapabilitiesEvaluator.cs
- HuffModule.cs
- NonSerializedAttribute.cs
- DuplexClientBase.cs
- Pts.cs
- EditorZone.cs
- DecimalConverter.cs
- ByteFacetDescriptionElement.cs
- SafeNativeMethodsMilCoreApi.cs
- TrustSection.cs
- DataKey.cs
- UInt32Storage.cs
- DataColumnChangeEvent.cs
- HttpDebugHandler.cs
- ScrollChrome.cs
- XsltException.cs
- ActivityExecutorSurrogate.cs
- XamlNamespaceHelper.cs
- LoginUtil.cs
- ExceptionUtil.cs
- Int16KeyFrameCollection.cs
- PerSessionInstanceContextProvider.cs