Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- AssemblyResourceLoader.cs
- TabItem.cs
- PipelineModuleStepContainer.cs
- SessionEndingCancelEventArgs.cs
- CopyEncoder.cs
- DataBindingExpressionBuilder.cs
- SessionConnectionReader.cs
- NativeRecognizer.cs
- ChannelManagerHelpers.cs
- TextBox.cs
- NameSpaceEvent.cs
- WinFormsUtils.cs
- StreamWithDictionary.cs
- HorizontalAlignConverter.cs
- WindowsSysHeader.cs
- SafeSecurityHelper.cs
- SizeIndependentAnimationStorage.cs
- StylusButtonCollection.cs
- SqlBooleanizer.cs
- XmlElementAttributes.cs
- LookupNode.cs
- GifBitmapDecoder.cs
- Label.cs
- XLinq.cs
- sqlmetadatafactory.cs
- EditingCoordinator.cs
- Thickness.cs
- MsdtcWrapper.cs
- ZeroOpNode.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- GuidelineSet.cs
- ErrorFormatter.cs
- ThousandthOfEmRealDoubles.cs
- ReachDocumentSequenceSerializerAsync.cs
- TcpClientCredentialType.cs
- PersonalizableTypeEntry.cs
- NavigatorInput.cs
- GeometryValueSerializer.cs
- StaticTextPointer.cs
- StickyNote.cs
- CustomError.cs
- AVElementHelper.cs
- WebPartUtil.cs
- EventArgs.cs
- CryptoConfig.cs
- RoleBoolean.cs
- DecimalConverter.cs
- DataGridViewCellStyle.cs
- SqlIdentifier.cs
- Int32Storage.cs
- DbDataAdapter.cs
- ButtonFieldBase.cs
- AnnotationAuthorChangedEventArgs.cs
- Authorization.cs
- DataGridCommandEventArgs.cs
- RelationshipWrapper.cs
- ClientRolePrincipal.cs
- DiscoveryDocumentSerializer.cs
- ExpressionPrefixAttribute.cs
- DataPagerFieldCommandEventArgs.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- DataGridViewCellStyleChangedEventArgs.cs
- CustomErrorsSection.cs
- ObjectListCommandsPage.cs
- _BufferOffsetSize.cs
- DocumentReferenceCollection.cs
- ValidationManager.cs
- EndpointAddressMessageFilterTable.cs
- InputLangChangeRequestEvent.cs
- NumberFormatInfo.cs
- FloaterBaseParagraph.cs
- oledbmetadatacolumnnames.cs
- ImportCatalogPart.cs
- BindingsCollection.cs
- EtwTrace.cs
- Quaternion.cs
- ContractUtils.cs
- ToolBarButton.cs
- DesignTimeVisibleAttribute.cs
- Timeline.cs
- PerformanceCounter.cs
- SqlClientPermission.cs
- TypeDescriptionProviderAttribute.cs
- XamlPathDataSerializer.cs
- SessionStateItemCollection.cs
- MaskInputRejectedEventArgs.cs
- FontCacheLogic.cs
- ManagementScope.cs
- ViewLoader.cs
- WebPartVerb.cs
- WorkflowDebuggerSteppingAttribute.cs
- ConsumerConnectionPointCollection.cs
- MemoryFailPoint.cs
- XmlSchemaSequence.cs
- SHA512Managed.cs
- ComPlusInstanceContextInitializer.cs
- PageThemeCodeDomTreeGenerator.cs
- ClassHandlersStore.cs
- SelectionManager.cs
- HttpTransportElement.cs