Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TraceXPathNavigator.cs
- SingleObjectCollection.cs
- DataGridViewRowCancelEventArgs.cs
- ChangeBlockUndoRecord.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- WindowsGraphicsCacheManager.cs
- ClassHandlersStore.cs
- ComboBoxItem.cs
- DiagnosticTrace.cs
- MetadataSource.cs
- XmlRootAttribute.cs
- OutputCacheSection.cs
- SpeechEvent.cs
- Translator.cs
- _StreamFramer.cs
- XsltLoader.cs
- Int16AnimationUsingKeyFrames.cs
- DataBindingHandlerAttribute.cs
- FlowDocumentScrollViewer.cs
- EvidenceTypeDescriptor.cs
- XamlInt32CollectionSerializer.cs
- DiscoveryDocumentSerializer.cs
- AnnotationComponentChooser.cs
- UiaCoreProviderApi.cs
- ByteRangeDownloader.cs
- CaseStatement.cs
- ZipIOBlockManager.cs
- RequestValidator.cs
- XamlStream.cs
- RoutingChannelExtension.cs
- XmlAnyElementAttribute.cs
- PasswordDeriveBytes.cs
- TreeNodeSelectionProcessor.cs
- ObjectListSelectEventArgs.cs
- DesignerVerbCollection.cs
- DictionaryContent.cs
- SchemaImporterExtensionsSection.cs
- RoutingTable.cs
- MultiPartWriter.cs
- SpnEndpointIdentity.cs
- WebPartCatalogCloseVerb.cs
- XPathNodeInfoAtom.cs
- AdornerLayer.cs
- DefaultValueAttribute.cs
- ZoomPercentageConverter.cs
- FixedBufferAttribute.cs
- RegexCapture.cs
- WebZone.cs
- GridViewCommandEventArgs.cs
- Rect3D.cs
- PathFigureCollection.cs
- ResourceSetExpression.cs
- CompilerLocalReference.cs
- Int64Storage.cs
- IsolatedStorageFile.cs
- PlaceHolder.cs
- ForeignConstraint.cs
- DataComponentMethodGenerator.cs
- CodeMemberEvent.cs
- TextStore.cs
- CommonObjectSecurity.cs
- Qualifier.cs
- ObjectListShowCommandsEventArgs.cs
- MembershipUser.cs
- DataObjectEventArgs.cs
- ImageUrlEditor.cs
- PackagePart.cs
- TrackingProfile.cs
- WaveHeader.cs
- WorkflowRuntimeServicesBehavior.cs
- GeometryDrawing.cs
- EditorZone.cs
- EntityStoreSchemaFilterEntry.cs
- WebPartDisplayModeEventArgs.cs
- ExecutionContext.cs
- MethodBody.cs
- StyleXamlParser.cs
- _PooledStream.cs
- FunctionParameter.cs
- Rotation3DAnimationBase.cs
- CollectionViewGroupRoot.cs
- RegisteredDisposeScript.cs
- BigInt.cs
- XPathNodePointer.cs
- BamlRecords.cs
- AutoFocusStyle.xaml.cs
- PartialCachingControl.cs
- LambdaCompiler.cs
- DrawingContextWalker.cs
- GroupBox.cs
- RpcAsyncResult.cs
- RadioButtonStandardAdapter.cs
- UnsafeNativeMethods.cs
- XmlSchemaSimpleContentRestriction.cs
- ColumnMapProcessor.cs
- isolationinterop.cs
- SBCSCodePageEncoding.cs
- PrivilegedConfigurationManager.cs
- CqlLexerHelpers.cs
- FixedMaxHeap.cs