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
- CanonicalFormWriter.cs
- ToolStripItemEventArgs.cs
- prefixendpointaddressmessagefiltertable.cs
- SystemWebCachingSectionGroup.cs
- OracleEncoding.cs
- AutomationIdentifierGuids.cs
- SoapElementAttribute.cs
- UnmanagedMarshal.cs
- SqlDataSourceEnumerator.cs
- ContractValidationHelper.cs
- ConnectionManagementElement.cs
- SizeAnimation.cs
- GeneratedCodeAttribute.cs
- LambdaCompiler.Generated.cs
- ConstNode.cs
- ObjectConverter.cs
- PeerToPeerException.cs
- ExpressionBinding.cs
- RecordBuilder.cs
- WebPartTransformerAttribute.cs
- TypefaceMap.cs
- _CookieModule.cs
- GPPOINTF.cs
- SymmetricKeyWrap.cs
- EntityDataSourceMemberPath.cs
- FilterQuery.cs
- RuntimeIdentifierPropertyAttribute.cs
- SQLBinaryStorage.cs
- ObjectParameter.cs
- NativeMethods.cs
- SqlExpressionNullability.cs
- MissingManifestResourceException.cs
- ClientApiGenerator.cs
- _UriTypeConverter.cs
- PropertyChangingEventArgs.cs
- GlyphShapingProperties.cs
- XmlComment.cs
- XmlnsCompatibleWithAttribute.cs
- RepeatBehavior.cs
- DrawingImage.cs
- SingleTagSectionHandler.cs
- SamlNameIdentifierClaimResource.cs
- validation.cs
- DesignerTextWriter.cs
- DataControlFieldHeaderCell.cs
- SetIndexBinder.cs
- QueryOptionExpression.cs
- ToolStripContextMenu.cs
- WindowsFormsHost.cs
- XmlTextWriter.cs
- ToolboxControl.cs
- CardSpaceSelector.cs
- ImmComposition.cs
- ScrollableControl.cs
- Parser.cs
- XhtmlBasicTextViewAdapter.cs
- XslVisitor.cs
- DataRelationPropertyDescriptor.cs
- LayoutEditorPart.cs
- CustomErrorCollection.cs
- PropertyOrder.cs
- MemberDomainMap.cs
- Invariant.cs
- BitmapEditor.cs
- ActiveXHost.cs
- Cursors.cs
- CommandBindingCollection.cs
- XPathItem.cs
- HGlobalSafeHandle.cs
- RadioButton.cs
- EmbeddedMailObjectsCollection.cs
- BaseValidator.cs
- CompleteWizardStep.cs
- GroupLabel.cs
- EmptyCollection.cs
- SystemException.cs
- Compilation.cs
- InvariantComparer.cs
- DesignerCategoryAttribute.cs
- InvokeFunc.cs
- Transactions.cs
- PageThemeCodeDomTreeGenerator.cs
- ChannelHandler.cs
- ScriptBehaviorDescriptor.cs
- ApplicationInfo.cs
- ReadOnlyPermissionSet.cs
- ManifestResourceInfo.cs
- ActiveDocumentEvent.cs
- DecoderExceptionFallback.cs
- HttpApplicationFactory.cs
- SchemaImporterExtensionElement.cs
- SafeMILHandle.cs
- ContractBase.cs
- ListViewUpdateEventArgs.cs
- AssociationProvider.cs
- ACL.cs
- ipaddressinformationcollection.cs
- LongMinMaxAggregationOperator.cs
- AsyncDataRequest.cs
- DbParameterCollectionHelper.cs