Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- CoTaskMemHandle.cs
- LinkUtilities.cs
- FormCollection.cs
- TextInfo.cs
- AuthenticationModuleElement.cs
- KeyGesture.cs
- UserInitiatedNavigationPermission.cs
- ListViewItem.cs
- InplaceBitmapMetadataWriter.cs
- HttpConfigurationContext.cs
- XPathEmptyIterator.cs
- BamlLocalizabilityResolver.cs
- SchemaTypeEmitter.cs
- UndoEngine.cs
- PersonalizationStateQuery.cs
- FileDataSourceCache.cs
- UserNamePasswordValidator.cs
- EntityStoreSchemaFilterEntry.cs
- EntityViewGenerator.cs
- BitmapEffectInputConnector.cs
- XmlAttributeAttribute.cs
- ReflectionServiceProvider.cs
- GenericAuthenticationEventArgs.cs
- IntegerCollectionEditor.cs
- DbgCompiler.cs
- TextEndOfParagraph.cs
- SplitterCancelEvent.cs
- ToolStripLocationCancelEventArgs.cs
- SystemIPInterfaceProperties.cs
- ZipQueryOperator.cs
- AttributeProviderAttribute.cs
- WebPartsSection.cs
- LockRecoveryTask.cs
- EventLog.cs
- LocalizableAttribute.cs
- DBSqlParserColumn.cs
- CryptoConfig.cs
- AlternateViewCollection.cs
- ResourceAttributes.cs
- SingleResultAttribute.cs
- ByteStorage.cs
- SqlLiftIndependentRowExpressions.cs
- EventLevel.cs
- TextTreeInsertElementUndoUnit.cs
- AutomationPeer.cs
- CodeIterationStatement.cs
- ToolBarOverflowPanel.cs
- ResourceContainerWrapper.cs
- MissingMemberException.cs
- ProcessInfo.cs
- MissingMethodException.cs
- Style.cs
- MediaPlayerState.cs
- TimelineCollection.cs
- StreamInfo.cs
- MemberAccessException.cs
- ResourceExpressionBuilder.cs
- TextSelectionHighlightLayer.cs
- GlobalizationSection.cs
- RoleBoolean.cs
- ResourceReferenceExpressionConverter.cs
- SiteIdentityPermission.cs
- DataGridViewRowPostPaintEventArgs.cs
- ZipIOExtraFieldZip64Element.cs
- SqlWorkflowInstanceStore.cs
- CustomWebEventKey.cs
- ContentOperations.cs
- TextBlockAutomationPeer.cs
- SmiSettersStream.cs
- XmlParser.cs
- TimeSpan.cs
- ReceiveReply.cs
- DataGridViewRowPrePaintEventArgs.cs
- SelectionService.cs
- PropertyEmitter.cs
- InstanceDataCollection.cs
- SqlPersistenceProviderFactory.cs
- UIntPtr.cs
- SparseMemoryStream.cs
- Token.cs
- AutomationElementIdentifiers.cs
- ResourceSet.cs
- SqlRemoveConstantOrderBy.cs
- DataGridRow.cs
- Size.cs
- SerializableAuthorizationContext.cs
- SafeFreeMibTable.cs
- StyleXamlTreeBuilder.cs
- RectangleHotSpot.cs
- NamedPipeChannelListener.cs
- SQLDateTime.cs
- TransactionChannelFaultConverter.cs
- ControlType.cs
- DictionaryChange.cs
- QilReplaceVisitor.cs
- VisualBasicExpressionConverter.cs
- WebZone.cs
- LinkConverter.cs
- WindowsGraphics2.cs
- HtmlLiteralTextAdapter.cs