Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / 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. 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
- UrlMappingCollection.cs
- InstanceDescriptor.cs
- ListBindingHelper.cs
- Byte.cs
- XmlDocumentFragment.cs
- OperationContextScope.cs
- MissingSatelliteAssemblyException.cs
- HtmlTextArea.cs
- Stylesheet.cs
- DesignerExtenders.cs
- Point3DAnimationUsingKeyFrames.cs
- ObjectComplexPropertyMapping.cs
- OleDbFactory.cs
- TokenCreationParameter.cs
- TextMarkerSource.cs
- IconHelper.cs
- SystemBrushes.cs
- TypeReference.cs
- ColumnWidthChangedEvent.cs
- EventListener.cs
- HttpPostServerProtocol.cs
- HttpException.cs
- TagNameToTypeMapper.cs
- MDIClient.cs
- DataControlFieldCell.cs
- EventLogStatus.cs
- XPathArrayIterator.cs
- DataSourceProvider.cs
- DPCustomTypeDescriptor.cs
- CachedFontFace.cs
- FormViewDeletedEventArgs.cs
- InternalRelationshipCollection.cs
- NativeMethods.cs
- VsPropertyGrid.cs
- ExecutionContext.cs
- Hex.cs
- TryExpression.cs
- NamespaceInfo.cs
- ViewManager.cs
- MenuItemStyleCollectionEditor.cs
- AppDomainAttributes.cs
- BaseParser.cs
- GenericsNotImplementedException.cs
- CodeGeneratorOptions.cs
- StylusSystemGestureEventArgs.cs
- FlowLayout.cs
- RichTextBoxConstants.cs
- Publisher.cs
- FixedBufferAttribute.cs
- PlatformCulture.cs
- WebPartVerb.cs
- OrthographicCamera.cs
- namescope.cs
- NativeMethods.cs
- RSAPKCS1KeyExchangeFormatter.cs
- PrePostDescendentsWalker.cs
- HtmlTernaryTree.cs
- SystemInfo.cs
- ProofTokenCryptoHandle.cs
- ColorConvertedBitmap.cs
- ResizeGrip.cs
- ModifierKeysValueSerializer.cs
- xdrvalidator.cs
- DnsPermission.cs
- SelectionWordBreaker.cs
- UnionCodeGroup.cs
- InkPresenter.cs
- StringPropertyBuilder.cs
- SerializationObjectManager.cs
- UnaryNode.cs
- EntityDataSourceConfigureObjectContext.cs
- PropertyInfoSet.cs
- FileDialog_Vista_Interop.cs
- ScriptBehaviorDescriptor.cs
- SqlDataReaderSmi.cs
- HttpCookieCollection.cs
- NullableFloatSumAggregationOperator.cs
- StorageSetMapping.cs
- HandlerMappingMemo.cs
- XmlDocument.cs
- HtmlFormAdapter.cs
- EmptyStringExpandableObjectConverter.cs
- MouseDevice.cs
- SystemTcpConnection.cs
- ResponseStream.cs
- Internal.cs
- FileVersionInfo.cs
- HebrewCalendar.cs
- NativeObjectSecurity.cs
- DataServiceSaveChangesEventArgs.cs
- NameTable.cs
- LambdaCompiler.Address.cs
- OutOfMemoryException.cs
- FixedTextBuilder.cs
- SecurityState.cs
- BamlLocalizationDictionary.cs
- ImageMapEventArgs.cs
- WebAdminConfigurationHelper.cs
- SiteMapNode.cs
- DataPagerFieldItem.cs