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
- DesignTimeTemplateParser.cs
- ProcessModelSection.cs
- ValueExpressions.cs
- Comparer.cs
- StandardCommands.cs
- CompositeKey.cs
- QuaternionValueSerializer.cs
- FontCollection.cs
- GuidConverter.cs
- FocusChangedEventArgs.cs
- MenuItem.cs
- XPathConvert.cs
- activationcontext.cs
- PixelShader.cs
- PrimitiveType.cs
- LambdaValue.cs
- ArgumentException.cs
- Graphics.cs
- Bold.cs
- CanonicalFontFamilyReference.cs
- PageContentCollection.cs
- HwndKeyboardInputProvider.cs
- recordstate.cs
- GridViewPageEventArgs.cs
- RadioButtonStandardAdapter.cs
- GridErrorDlg.cs
- HttpDebugHandler.cs
- TrustLevelCollection.cs
- GroupItemAutomationPeer.cs
- DocumentOrderComparer.cs
- QueryOutputWriter.cs
- PackageRelationshipSelector.cs
- Part.cs
- AutomationEvent.cs
- DataGridViewImageColumn.cs
- FileStream.cs
- grammarelement.cs
- Bookmark.cs
- SuppressMessageAttribute.cs
- ActiveXSite.cs
- DefaultCommandConverter.cs
- Ops.cs
- SqlDataSourceFilteringEventArgs.cs
- SecurityState.cs
- PriorityChain.cs
- LinqDataSourceEditData.cs
- WebContext.cs
- PersianCalendar.cs
- GeneratedContractType.cs
- SiteMapDataSource.cs
- ToolStripEditorManager.cs
- ExclusiveHandle.cs
- QualificationDataAttribute.cs
- SQLInt32.cs
- ParameterModifier.cs
- CompressStream.cs
- EntityUtil.cs
- SmtpFailedRecipientsException.cs
- SafeNativeMethods.cs
- RowsCopiedEventArgs.cs
- DtrList.cs
- XmlSchemaComplexContent.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- APCustomTypeDescriptor.cs
- WebCodeGenerator.cs
- ObjectListSelectEventArgs.cs
- Journal.cs
- InternalBase.cs
- DataGridLinkButton.cs
- InternalConfigEventArgs.cs
- ObjectDataSourceSelectingEventArgs.cs
- UnknownWrapper.cs
- ButtonBase.cs
- OleDbError.cs
- Convert.cs
- columnmapkeybuilder.cs
- DataGridTextBox.cs
- EntityContainerAssociationSet.cs
- XmlSerializerFactory.cs
- ConditionValidator.cs
- TripleDES.cs
- StructuredTypeEmitter.cs
- StrongNameIdentityPermission.cs
- SynchronizedDispatch.cs
- StateItem.cs
- Zone.cs
- CommandHelpers.cs
- UpdateCommandGenerator.cs
- ContentDisposition.cs
- WebScriptServiceHostFactory.cs
- HtmlFormParameterReader.cs
- _Rfc2616CacheValidators.cs
- RC2.cs
- ItemsPanelTemplate.cs
- CounterSample.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- TextViewBase.cs
- DataTableReader.cs
- CSharpCodeProvider.cs
- ValidationVisibilityAttribute.cs