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
- BamlTreeNode.cs
- ReferenceAssemblyAttribute.cs
- OLEDB_Enum.cs
- SmiEventStream.cs
- AmbientLight.cs
- ObjectDataSourceEventArgs.cs
- CombinedGeometry.cs
- SelectionItemProviderWrapper.cs
- CodeMemberMethod.cs
- UnsignedPublishLicense.cs
- FieldNameLookup.cs
- TreeNode.cs
- HtmlLink.cs
- Bidi.cs
- RectangleConverter.cs
- ItemsControlAutomationPeer.cs
- SafeFindHandle.cs
- SerializationSectionGroup.cs
- FixedPageAutomationPeer.cs
- EncoderFallback.cs
- IODescriptionAttribute.cs
- TemplateField.cs
- KeyFrames.cs
- PropertyPushdownHelper.cs
- ConfigurationElement.cs
- XhtmlConformanceSection.cs
- ReferenceEqualityComparer.cs
- ArithmeticException.cs
- DbSetClause.cs
- AttributeAction.cs
- RuntimeWrappedException.cs
- Tag.cs
- UnaryQueryOperator.cs
- EncryptedXml.cs
- HttpContext.cs
- LocatorBase.cs
- MonthChangedEventArgs.cs
- BlurEffect.cs
- MsmqReceiveHelper.cs
- XmlChildEnumerator.cs
- Attributes.cs
- CacheSection.cs
- OperationExecutionFault.cs
- FacetChecker.cs
- Group.cs
- Math.cs
- SrgsSemanticInterpretationTag.cs
- DoubleUtil.cs
- ObjectListComponentEditor.cs
- OptimalBreakSession.cs
- ValidateNames.cs
- GenericTypeParameterBuilder.cs
- LassoHelper.cs
- EditingCommands.cs
- ScrollViewer.cs
- StatusBarAutomationPeer.cs
- CommandLibraryHelper.cs
- MenuItemAutomationPeer.cs
- ISAPIWorkerRequest.cs
- InlineUIContainer.cs
- GroupDescription.cs
- SafeHandles.cs
- FilterException.cs
- _AutoWebProxyScriptHelper.cs
- IntellisenseTextBox.designer.cs
- HelpKeywordAttribute.cs
- ConditionBrowserDialog.cs
- RadioButtonDesigner.cs
- PersonalizationStateQuery.cs
- ColumnMapVisitor.cs
- TextEditorCopyPaste.cs
- StatusBarItemAutomationPeer.cs
- GZipDecoder.cs
- Exception.cs
- SecurityTokenRequirement.cs
- Constraint.cs
- WindowsFormsEditorServiceHelper.cs
- StreamingContext.cs
- SoapTransportImporter.cs
- IsolatedStorageFilePermission.cs
- TreeViewItemAutomationPeer.cs
- ComboBox.cs
- Dump.cs
- HttpMethodConstraint.cs
- BevelBitmapEffect.cs
- Atom10ItemFormatter.cs
- SqlClientPermission.cs
- _SslSessionsCache.cs
- MetricEntry.cs
- XmlNodeReader.cs
- NotificationContext.cs
- Root.cs
- VariableValue.cs
- SendMailErrorEventArgs.cs
- ReverseComparer.cs
- DescendantOverDescendantQuery.cs
- TextRangeEdit.cs
- XamlSerializerUtil.cs
- MdImport.cs
- GetWorkflowTree.cs