Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WindowsGraphics2.cs
- SslStream.cs
- categoryentry.cs
- MetabaseServerConfig.cs
- TreeNodeStyleCollection.cs
- ScrollItemPattern.cs
- UserControl.cs
- BitmapSizeOptions.cs
- SourceItem.cs
- x509store.cs
- IncrementalCompileAnalyzer.cs
- MissingMemberException.cs
- ColumnMapProcessor.cs
- ConfigurationPropertyAttribute.cs
- XmlSubtreeReader.cs
- XPathScanner.cs
- StandardOleMarshalObject.cs
- SafeFileMappingHandle.cs
- Nullable.cs
- RegistryPermission.cs
- TextMarkerSource.cs
- CollectionBuilder.cs
- UnauthorizedWebPart.cs
- WebFormsRootDesigner.cs
- DataSourceConverter.cs
- FlowDocumentScrollViewer.cs
- NextPreviousPagerField.cs
- ServiceOperationParameter.cs
- DbParameterCollectionHelper.cs
- InspectionWorker.cs
- IPPacketInformation.cs
- BooleanAnimationBase.cs
- ResetableIterator.cs
- BufferModeSettings.cs
- InkCanvas.cs
- KeyedHashAlgorithm.cs
- TextBox.cs
- Calendar.cs
- FilterableData.cs
- SchemaObjectWriter.cs
- ClientUIRequest.cs
- VisualTreeUtils.cs
- CodeDefaultValueExpression.cs
- ThreadExceptionDialog.cs
- SelectionGlyph.cs
- HTMLTagNameToTypeMapper.cs
- ResourceExpressionBuilder.cs
- DataGridClipboardCellContent.cs
- WebPartUtil.cs
- MobileControlDesigner.cs
- MenuDesigner.cs
- ListViewUpdatedEventArgs.cs
- ShapingEngine.cs
- BufferManager.cs
- CopyOfAction.cs
- ConstructorExpr.cs
- Line.cs
- DataGridViewCellPaintingEventArgs.cs
- TabControlAutomationPeer.cs
- StylusPointProperty.cs
- Transform3DGroup.cs
- ZipIOExtraField.cs
- LeaseManager.cs
- AffineTransform3D.cs
- WebScriptServiceHost.cs
- ListItemCollection.cs
- EmptyImpersonationContext.cs
- ExceptionDetail.cs
- HttpNamespaceReservationInstallComponent.cs
- CompilationLock.cs
- MDIWindowDialog.cs
- OdbcStatementHandle.cs
- MessageDispatch.cs
- MetadataArtifactLoaderCompositeFile.cs
- AssemblyAttributes.cs
- BaseValidator.cs
- RegisteredArrayDeclaration.cs
- QueryFunctions.cs
- CopyAttributesAction.cs
- BindingList.cs
- PolyLineSegmentFigureLogic.cs
- EntitySet.cs
- ResizeGrip.cs
- CatalogZoneBase.cs
- XmlnsDefinitionAttribute.cs
- PersistenceProviderFactory.cs
- Baml2006Reader.cs
- DataGridState.cs
- PhonemeEventArgs.cs
- AggregateNode.cs
- Rectangle.cs
- WebCodeGenerator.cs
- RegisteredHiddenField.cs
- WindowsFormsHostAutomationPeer.cs
- DispatcherHookEventArgs.cs
- EmbeddedObject.cs
- RuleElement.cs
- Int32EqualityComparer.cs
- ListViewItemSelectionChangedEvent.cs
- AutoCompleteStringCollection.cs