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
- StackSpiller.Bindings.cs
- DataMisalignedException.cs
- AssociativeAggregationOperator.cs
- EditorPartChrome.cs
- LayoutTable.cs
- MouseActionConverter.cs
- NullableFloatMinMaxAggregationOperator.cs
- CompositeControlDesigner.cs
- WCFBuildProvider.cs
- SiteMapNodeCollection.cs
- WpfXamlType.cs
- ErrorLog.cs
- UpDownBase.cs
- MetadataArtifactLoaderResource.cs
- PageParser.cs
- _Events.cs
- XmlSchemaNotation.cs
- CodeMemberMethod.cs
- Encoder.cs
- DetailsViewDesigner.cs
- ExceptionTranslationTable.cs
- ComPlusThreadInitializer.cs
- Double.cs
- TableColumnCollectionInternal.cs
- FixedHighlight.cs
- WindowsNonControl.cs
- TreeNodeMouseHoverEvent.cs
- CodeIdentifier.cs
- LogicalTreeHelper.cs
- DateTime.cs
- StateMachine.cs
- TargetInvocationException.cs
- wmiprovider.cs
- SplineQuaternionKeyFrame.cs
- ActiveXHelper.cs
- TranslateTransform3D.cs
- OutputCacheProfile.cs
- SchemaMapping.cs
- SafeViewOfFileHandle.cs
- DoubleCollectionValueSerializer.cs
- dataprotectionpermission.cs
- DataTableClearEvent.cs
- MethodCallTranslator.cs
- OneOf.cs
- ClusterRegistryConfigurationProvider.cs
- WebPartMenuStyle.cs
- IndexerNameAttribute.cs
- RtfFormatStack.cs
- TypeToken.cs
- ProcessHostServerConfig.cs
- DivideByZeroException.cs
- ISFClipboardData.cs
- WindowsSysHeader.cs
- OdbcReferenceCollection.cs
- MessageDecoder.cs
- TripleDES.cs
- MemberPathMap.cs
- pingexception.cs
- WebPartChrome.cs
- ParserHooks.cs
- HtmlFormParameterWriter.cs
- SubMenuStyleCollection.cs
- FixedSOMLineRanges.cs
- OdbcConnectionPoolProviderInfo.cs
- VerificationException.cs
- XmlQualifiedNameTest.cs
- SafeBuffer.cs
- SQLInt16.cs
- JournalNavigationScope.cs
- MemoryMappedViewStream.cs
- EntityWrapper.cs
- GeneralTransform.cs
- GatewayIPAddressInformationCollection.cs
- LowerCaseStringConverter.cs
- DiscoveryVersionConverter.cs
- CompositeDesignerAccessibleObject.cs
- BasicCellRelation.cs
- ThicknessConverter.cs
- Avt.cs
- CFGGrammar.cs
- CodeGenerator.cs
- OleDbRowUpdatingEvent.cs
- IBuiltInEvidence.cs
- ScrollProviderWrapper.cs
- SoapObjectInfo.cs
- RawStylusSystemGestureInputReport.cs
- SafeNativeMethodsCLR.cs
- regiisutil.cs
- XsdDuration.cs
- ClientSponsor.cs
- WsatStrings.cs
- DelayedRegex.cs
- OutputCacheSettings.cs
- PageContentAsyncResult.cs
- XmlSerializationWriter.cs
- HttpGetProtocolImporter.cs
- SupportingTokenChannel.cs
- XamlTemplateSerializer.cs
- Int32Rect.cs
- CreateRefExpr.cs