Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// The expression to cast. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataColumnMapping.cs
- SourceLocation.cs
- HScrollBar.cs
- MessageSecurityVersion.cs
- StoragePropertyMapping.cs
- WindowsButton.cs
- XDRSchema.cs
- PartialCachingAttribute.cs
- FontWeight.cs
- Menu.cs
- UserPreferenceChangingEventArgs.cs
- JsonWriterDelegator.cs
- NumericUpDownAcceleration.cs
- Underline.cs
- securitycriticaldataClass.cs
- StorageFunctionMapping.cs
- SqlUnionizer.cs
- ContextCorrelationInitializer.cs
- RegistrationServices.cs
- MappingException.cs
- SessionPageStateSection.cs
- SliderAutomationPeer.cs
- PageThemeBuildProvider.cs
- PageCatalogPart.cs
- HttpPostProtocolImporter.cs
- WriterOutput.cs
- SmiRecordBuffer.cs
- ellipse.cs
- SqlFacetAttribute.cs
- SQLDateTime.cs
- ComEventsSink.cs
- SqlProvider.cs
- MediaEntryAttribute.cs
- DocumentPageHost.cs
- AesManaged.cs
- EdmProperty.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- WindowsTab.cs
- PageTheme.cs
- HttpResponseMessageProperty.cs
- Keyboard.cs
- ExpressionReplacer.cs
- CachedPathData.cs
- RemoteWebConfigurationHostServer.cs
- EmptyReadOnlyDictionaryInternal.cs
- RectIndependentAnimationStorage.cs
- ErrorTableItemStyle.cs
- AnnotationObservableCollection.cs
- GeneratedCodeAttribute.cs
- ExpressionBindingCollection.cs
- WebPartEditVerb.cs
- ACL.cs
- SQLStringStorage.cs
- ScrollProviderWrapper.cs
- Deflater.cs
- DSASignatureDeformatter.cs
- SHA1Managed.cs
- EventLog.cs
- BitmapMetadataEnumerator.cs
- ImmutableClientRuntime.cs
- Soap12ServerProtocol.cs
- WasHttpHandlersInstallComponent.cs
- InfoCardRSACryptoProvider.cs
- DuplicateWaitObjectException.cs
- ObjectTypeMapping.cs
- PageThemeBuildProvider.cs
- Encoder.cs
- DES.cs
- ContextMenuStrip.cs
- Paragraph.cs
- Graph.cs
- DateTimeSerializationSection.cs
- EditorAttributeInfo.cs
- VisualStateChangedEventArgs.cs
- Int32Rect.cs
- ProfileSettings.cs
- RuntimeConfig.cs
- WebControlsSection.cs
- FontFamilyConverter.cs
- ColorMatrix.cs
- RewritingPass.cs
- SmiContext.cs
- ParserStreamGeometryContext.cs
- ImpersonateTokenRef.cs
- Wizard.cs
- ContainerUIElement3D.cs
- TemplatedWizardStep.cs
- TextWriter.cs
- ScriptReference.cs
- DirectoryInfo.cs
- XmlFormatExtensionPrefixAttribute.cs
- ObjectDataSourceSelectingEventArgs.cs
- AuthenticatedStream.cs
- DataGridTextBox.cs
- PackageProperties.cs
- XmlTextWriter.cs
- HtmlTableRowCollection.cs
- URLMembershipCondition.cs
- NamespaceMapping.cs
- ColumnReorderedEventArgs.cs