Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ReferencedAssembly.cs
- AsymmetricSignatureFormatter.cs
- HttpServerUtilityWrapper.cs
- SchemaCollectionPreprocessor.cs
- GroupBoxRenderer.cs
- TransactionFlowBindingElement.cs
- DirectoryObjectSecurity.cs
- DiagnosticEventProvider.cs
- DateTimeSerializationSection.cs
- ValueType.cs
- ButtonBaseAdapter.cs
- TemplatedWizardStep.cs
- GeometryGroup.cs
- DataBoundControl.cs
- Vertex.cs
- ControlPaint.cs
- RedirectionProxy.cs
- PropertyItemInternal.cs
- UpdateException.cs
- TypeHelper.cs
- RootNamespaceAttribute.cs
- SessionIDManager.cs
- _DomainName.cs
- AtomMaterializer.cs
- OptimalTextSource.cs
- lengthconverter.cs
- MarginsConverter.cs
- DES.cs
- Int32CAMarshaler.cs
- ImplicitInputBrush.cs
- PerfService.cs
- Misc.cs
- FixedSchema.cs
- BaseCodePageEncoding.cs
- ServiceObjectContainer.cs
- MasterPageParser.cs
- WebPartTransformer.cs
- IndividualDeviceConfig.cs
- AppDomainAttributes.cs
- FormViewInsertEventArgs.cs
- SupportingTokenBindingElement.cs
- ConnectionsZone.cs
- XmlObjectSerializerWriteContextComplex.cs
- OutOfMemoryException.cs
- SoapInteropTypes.cs
- BinHexEncoding.cs
- XMLSyntaxException.cs
- XmlSchemaValidator.cs
- PersonalizationProviderCollection.cs
- TdsRecordBufferSetter.cs
- Track.cs
- DataControlCommands.cs
- FaultHandlingFilter.cs
- PageTheme.cs
- InvokeCompletedEventArgs.cs
- UnsafeNativeMethodsTablet.cs
- coordinatorfactory.cs
- ChangeConflicts.cs
- TraceLog.cs
- PaperSize.cs
- SafeFileMappingHandle.cs
- SimpleBitVector32.cs
- InternalsVisibleToAttribute.cs
- StylusPlugInCollection.cs
- MenuItemStyle.cs
- SuppressMergeCheckAttribute.cs
- ObjectHandle.cs
- CompModSwitches.cs
- FormatterConverter.cs
- XmlSerializableServices.cs
- ListBoxChrome.cs
- ZoneLinkButton.cs
- MsmqDecodeHelper.cs
- DescendentsWalkerBase.cs
- NavigationWindowAutomationPeer.cs
- ManagedFilter.cs
- NodeFunctions.cs
- Object.cs
- MimePart.cs
- XPathNodePointer.cs
- Selector.cs
- FindProgressChangedEventArgs.cs
- TokenBasedSet.cs
- WorkflowService.cs
- SystemIPAddressInformation.cs
- DateTimeValueSerializerContext.cs
- BoolExpression.cs
- PersonalizationProvider.cs
- XmlArrayAttribute.cs
- SoapHeaderException.cs
- ComboBox.cs
- CultureInfo.cs
- validationstate.cs
- TextRunProperties.cs
- ClientProxyGenerator.cs
- WsatEtwTraceListener.cs
- GridViewColumnHeaderAutomationPeer.cs
- ValidatedMobileControlConverter.cs
- SystemInformation.cs
- MergePropertyDescriptor.cs