Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / KnownBoxes.cs / 1305600 / 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
- FileAuthorizationModule.cs
- PointAnimationBase.cs
- Stylesheet.cs
- TcpWorkerProcess.cs
- TreeChangeInfo.cs
- MessageSecurityTokenVersion.cs
- RegexCharClass.cs
- ListBase.cs
- WebServiceData.cs
- cookie.cs
- streamingZipPartStream.cs
- CreationContext.cs
- GrammarBuilderBase.cs
- BinHexEncoder.cs
- LocatorBase.cs
- ConfigurationLocation.cs
- SqlLiftIndependentRowExpressions.cs
- ByteStreamGeometryContext.cs
- CornerRadius.cs
- SecurityTokenValidationException.cs
- SlotInfo.cs
- TokenDescriptor.cs
- SoapObjectWriter.cs
- LayoutTableCell.cs
- SrgsDocumentParser.cs
- GeometryDrawing.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- BaseDataList.cs
- UIElementCollection.cs
- VScrollProperties.cs
- ProfessionalColors.cs
- ThrowOnMultipleAssignment.cs
- Policy.cs
- Visual3D.cs
- SchemaConstraints.cs
- DtrList.cs
- TypedReference.cs
- ClientApiGenerator.cs
- FileChangeNotifier.cs
- InheritedPropertyChangedEventArgs.cs
- UserMapPath.cs
- CallbackCorrelationInitializer.cs
- DataGrid.cs
- CountAggregationOperator.cs
- PropertyDescriptorCollection.cs
- Subtree.cs
- SrgsGrammar.cs
- FixedSOMSemanticBox.cs
- CompositeActivityCodeGenerator.cs
- DispatcherSynchronizationContext.cs
- LoadedOrUnloadedOperation.cs
- StaticFileHandler.cs
- Enlistment.cs
- SQLResource.cs
- BackgroundFormatInfo.cs
- OrderByExpression.cs
- GeneralTransform.cs
- DependencyPropertyChangedEventArgs.cs
- Int64AnimationBase.cs
- RootAction.cs
- MemoryRecordBuffer.cs
- OpenTypeLayout.cs
- SvcMapFileLoader.cs
- HttpCacheVary.cs
- HttpDictionary.cs
- WebPartVerb.cs
- ThrowOnMultipleAssignment.cs
- HttpCapabilitiesBase.cs
- TypePresenter.xaml.cs
- Italic.cs
- DataGridCellItemAutomationPeer.cs
- QilIterator.cs
- CompositeScriptReference.cs
- DeferredRunTextReference.cs
- TransportReplyChannelAcceptor.cs
- _Win32.cs
- MemoryMappedViewStream.cs
- ControlValuePropertyAttribute.cs
- hresults.cs
- SecurityHeader.cs
- ColumnResizeAdorner.cs
- WebPartDisplayModeEventArgs.cs
- DefaultEventAttribute.cs
- BitVector32.cs
- SystemIcmpV4Statistics.cs
- ElementFactory.cs
- DisplayNameAttribute.cs
- SqlParameterCollection.cs
- ModuleBuilder.cs
- CorrelationManager.cs
- MetafileHeaderEmf.cs
- XmlTextReaderImpl.cs
- ValidationSummary.cs
- DataControlFieldHeaderCell.cs
- ItemsPresenter.cs
- ExpressionList.cs
- RijndaelManaged.cs
- NativeMethods.cs
- StructuredProperty.cs
- CodeCommentStatementCollection.cs