Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / MS / Internal / KnownBoxes.cs / 1 / KnownBoxes.cs
using System; using MS.Internal.WindowsBase; namespace MS.Internal.KnownBoxes { [FriendAccessAllowed] // Built into Base, also used by Core and Framework. internal static class BooleanBoxes { internal static object TrueBox = true; internal static object FalseBox = false; internal static object Box(bool value) { if (value) { return TrueBox; } else { return FalseBox; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DoubleCollectionValueSerializer.cs
- WebPartTransformerAttribute.cs
- WebSysDisplayNameAttribute.cs
- HtmlInputText.cs
- OuterGlowBitmapEffect.cs
- ZipPackagePart.cs
- TransactionFormatter.cs
- WebPartDescription.cs
- LazyTextWriterCreator.cs
- WorkflowTraceTransfer.cs
- XmlValidatingReader.cs
- AppDomainEvidenceFactory.cs
- XmlName.cs
- ChannelManager.cs
- TargetParameterCountException.cs
- ThrowHelper.cs
- Error.cs
- ImageSource.cs
- AllMembershipCondition.cs
- ListViewDeleteEventArgs.cs
- WindowsButton.cs
- ServiceMemoryGates.cs
- ObfuscationAttribute.cs
- XmlDataLoader.cs
- EventProxy.cs
- ViewCellRelation.cs
- OpenTypeCommon.cs
- UnSafeCharBuffer.cs
- baseshape.cs
- TransactionScope.cs
- UnitySerializationHolder.cs
- ContactManager.cs
- PersonalizationProviderHelper.cs
- ExpressionBuilder.cs
- SamlAuthorityBinding.cs
- OSFeature.cs
- CodeBlockBuilder.cs
- SymbolType.cs
- VerticalConnector.xaml.cs
- SqlSupersetValidator.cs
- DynamicQueryableWrapper.cs
- ItemDragEvent.cs
- FormatSettings.cs
- Int32AnimationBase.cs
- XmlHelper.cs
- LogLogRecord.cs
- FormViewInsertedEventArgs.cs
- DynamicValueConverter.cs
- StrongName.cs
- NamedPipeConnectionPool.cs
- ProxySimple.cs
- TextEditorTables.cs
- CompositeDataBoundControl.cs
- DataBoundControl.cs
- PropertyDescriptorGridEntry.cs
- RightsManagementInformation.cs
- FixUpCollection.cs
- ListDictionary.cs
- RequestCachePolicyConverter.cs
- FontConverter.cs
- RoleGroupCollection.cs
- OLEDB_Enum.cs
- BmpBitmapDecoder.cs
- TrackingParameters.cs
- ProvidersHelper.cs
- CornerRadius.cs
- LogLogRecord.cs
- OdbcTransaction.cs
- Roles.cs
- DbConvert.cs
- Assembly.cs
- ButtonRenderer.cs
- PrefixQName.cs
- OleDbStruct.cs
- JsonUriDataContract.cs
- XamlInt32CollectionSerializer.cs
- ListMarkerSourceInfo.cs
- BitVector32.cs
- TimeSpanStorage.cs
- XmlSchemaCollection.cs
- ClientConvert.cs
- CodeTryCatchFinallyStatement.cs
- UriTemplate.cs
- GridViewSelectEventArgs.cs
- GCHandleCookieTable.cs
- SynchronizationLockException.cs
- RectConverter.cs
- Solver.cs
- MsmqTransportSecurityElement.cs
- Propagator.ExtentPlaceholderCreator.cs
- ReachSerializerAsync.cs
- StateManagedCollection.cs
- TextAnchor.cs
- BindableTemplateBuilder.cs
- DesignerDeviceConfig.cs
- HttpGetServerProtocol.cs
- CultureInfoConverter.cs
- TextControlDesigner.cs
- ListParaClient.cs
- DataBindingList.cs