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 / CodeCastExpression.cs / 1 / CodeCastExpression.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 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. /// ///// 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 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
- EmptyQuery.cs
- BufferedGraphics.cs
- XmlResolver.cs
- TextOptionsInternal.cs
- ExpressionBuilderCollection.cs
- SizeKeyFrameCollection.cs
- GrammarBuilderRuleRef.cs
- CodeNamespace.cs
- NextPreviousPagerField.cs
- WindowsAltTab.cs
- PathBox.cs
- TraceEventCache.cs
- X509CertificateStore.cs
- CodeMemberProperty.cs
- BufferedConnection.cs
- XPathDocumentIterator.cs
- SemaphoreSecurity.cs
- AuthenticationModuleElement.cs
- MILUtilities.cs
- KeyNotFoundException.cs
- EntitySet.cs
- EnvelopeVersion.cs
- sitestring.cs
- PeerResolverSettings.cs
- CompositeFontParser.cs
- FrugalList.cs
- IISUnsafeMethods.cs
- DebugHandleTracker.cs
- DecoderBestFitFallback.cs
- TrustLevel.cs
- VectorAnimationBase.cs
- ReliableInputConnection.cs
- SqlDataRecord.cs
- WebPartZoneDesigner.cs
- FileUtil.cs
- OdbcDataAdapter.cs
- RefType.cs
- Accessible.cs
- SR.cs
- ByteStreamGeometryContext.cs
- GeometryHitTestResult.cs
- TextInfo.cs
- XamlFigureLengthSerializer.cs
- MetadataException.cs
- RotateTransform3D.cs
- LowerCaseStringConverter.cs
- ScriptingJsonSerializationSection.cs
- SafeBitVector32.cs
- SqlClientMetaDataCollectionNames.cs
- IResourceProvider.cs
- TextClipboardData.cs
- AssemblyCache.cs
- CodeDirectiveCollection.cs
- UmAlQuraCalendar.cs
- BitmapEffectDrawingContextState.cs
- RegexTypeEditor.cs
- SignedXml.cs
- WizardForm.cs
- Style.cs
- BitmapPalettes.cs
- CodeSnippetCompileUnit.cs
- CurrentChangedEventManager.cs
- RadialGradientBrush.cs
- ColumnMapProcessor.cs
- OpenFileDialog.cs
- FillErrorEventArgs.cs
- FixedFlowMap.cs
- TextBoxBase.cs
- ItemCollection.cs
- SimpleWebHandlerParser.cs
- UnsafeNativeMethods.cs
- PartialCachingControl.cs
- RestClientProxyHandler.cs
- PermissionRequestEvidence.cs
- SerializationException.cs
- StringComparer.cs
- TraceLevelStore.cs
- HttpListener.cs
- DockPanel.cs
- SQLDouble.cs
- HttpWriter.cs
- UntypedNullExpression.cs
- CaseInsensitiveOrdinalStringComparer.cs
- SqlEnums.cs
- ImpersonationContext.cs
- BoundField.cs
- XmlRootAttribute.cs
- KeyEventArgs.cs
- TakeQueryOptionExpression.cs
- SinglePageViewer.cs
- CngProperty.cs
- ExternalCalls.cs
- XmlIlVisitor.cs
- BamlResourceContent.cs
- mongolianshape.cs
- MsmqInputChannel.cs
- Marshal.cs
- SqlDataSourceCache.cs
- FrameworkElementFactory.cs
- EntityCommandDefinition.cs