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
- PrePostDescendentsWalker.cs
- ObjectViewListener.cs
- Array.cs
- Converter.cs
- NamedElement.cs
- CacheRequest.cs
- ListViewTableRow.cs
- Enum.cs
- GridViewRowEventArgs.cs
- AnnotationResourceChangedEventArgs.cs
- LogWriteRestartAreaAsyncResult.cs
- ContentType.cs
- HttpApplicationStateWrapper.cs
- LifetimeServices.cs
- MappingItemCollection.cs
- InvalidOleVariantTypeException.cs
- BufferAllocator.cs
- ServiceSecurityAuditElement.cs
- DataReaderContainer.cs
- SplitContainer.cs
- EncryptedKeyIdentifierClause.cs
- ToolStripDropDownClosingEventArgs.cs
- FixedDocument.cs
- AssemblyAttributesGoHere.cs
- SafeNativeMemoryHandle.cs
- DBSqlParser.cs
- SqlProfileProvider.cs
- lengthconverter.cs
- ICollection.cs
- TargetParameterCountException.cs
- ThreadStaticAttribute.cs
- ConfigurationValidatorAttribute.cs
- QueryPrefixOp.cs
- HasActivatableWorkflowEvent.cs
- Site.cs
- RootBrowserWindow.cs
- SqlClientWrapperSmiStream.cs
- DoubleAnimationClockResource.cs
- TrackingLocationCollection.cs
- CodeDOMProvider.cs
- TaskFileService.cs
- XmlSchemaSequence.cs
- HttpCacheVary.cs
- UnionCodeGroup.cs
- OutputWindow.cs
- XmlConvert.cs
- PeerResolverMode.cs
- KeyBinding.cs
- MemberJoinTreeNode.cs
- Queue.cs
- AppliedDeviceFiltersEditor.cs
- Visitors.cs
- SchemaImporterExtensionElementCollection.cs
- VisualTreeUtils.cs
- WindowsIdentity.cs
- XmlArrayItemAttribute.cs
- LocationReferenceValue.cs
- RemoteWebConfigurationHostServer.cs
- LinqDataSourceUpdateEventArgs.cs
- DesignerActionGlyph.cs
- GenericQueueSurrogate.cs
- ReadOnlyAttribute.cs
- DataControlFieldCollection.cs
- Selection.cs
- Timeline.cs
- SharedUtils.cs
- DispatchChannelSink.cs
- ResourceSet.cs
- PeerCollaboration.cs
- XmlSchemaComplexType.cs
- DataServiceContext.cs
- UrlPath.cs
- DecodeHelper.cs
- PropertyPushdownHelper.cs
- DatasetMethodGenerator.cs
- printdlgexmarshaler.cs
- CustomWebEventKey.cs
- PersonalizationProvider.cs
- EntityProviderServices.cs
- DataBindingHandlerAttribute.cs
- DateTime.cs
- TemplatePartAttribute.cs
- TextAdaptor.cs
- CachedCompositeFamily.cs
- KeyConverter.cs
- ToolTipAutomationPeer.cs
- EmptyControlCollection.cs
- BindingExpressionBase.cs
- XPathChildIterator.cs
- Accessible.cs
- ReadOnlyHierarchicalDataSource.cs
- NullableFloatAverageAggregationOperator.cs
- WrappedKeySecurityTokenParameters.cs
- DataKey.cs
- CheckedPointers.cs
- DataGridViewToolTip.cs
- TypeDescriptionProvider.cs
- DataObjectAttribute.cs
- SafeLocalMemHandle.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs