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
- XPathException.cs
- FragmentNavigationEventArgs.cs
- EncodingTable.cs
- ListView.cs
- BlurEffect.cs
- DashStyles.cs
- SelectionEditingBehavior.cs
- FontSizeConverter.cs
- EntryWrittenEventArgs.cs
- EventHandlersStore.cs
- HybridDictionary.cs
- XslTransformFileEditor.cs
- DeploymentSectionCache.cs
- ToolboxItemCollection.cs
- UserPreferenceChangingEventArgs.cs
- SqlMethods.cs
- NameValueSectionHandler.cs
- ClientScriptManager.cs
- RawStylusInput.cs
- Model3DCollection.cs
- ApplicationSecurityManager.cs
- ScopedMessagePartSpecification.cs
- AppDomainProtocolHandler.cs
- WebSysDescriptionAttribute.cs
- DependencyPropertyHelper.cs
- ListMarkerSourceInfo.cs
- ContainerUIElement3D.cs
- DataGridViewEditingControlShowingEventArgs.cs
- WebPartEditVerb.cs
- AttributeConverter.cs
- indexingfiltermarshaler.cs
- ExpressionBuilderContext.cs
- TextTreeText.cs
- NativeRightsManagementAPIsStructures.cs
- GridViewRowPresenter.cs
- ReliabilityContractAttribute.cs
- relpropertyhelper.cs
- XmlTextAttribute.cs
- NullableBoolConverter.cs
- EntityDescriptor.cs
- SingleObjectCollection.cs
- CollectionChangeEventArgs.cs
- HybridDictionary.cs
- AppSettingsExpressionBuilder.cs
- VScrollProperties.cs
- GetPageNumberCompletedEventArgs.cs
- DataBoundLiteralControl.cs
- Ref.cs
- CodeDOMProvider.cs
- ColorDialog.cs
- Update.cs
- CommentEmitter.cs
- LightweightCodeGenerator.cs
- LookupNode.cs
- RightsManagementInformation.cs
- OutputCacheModule.cs
- WebPartConnectionsDisconnectVerb.cs
- PlanCompiler.cs
- ThreadStaticAttribute.cs
- SourceChangedEventArgs.cs
- MachineKeySection.cs
- ReflectionPermission.cs
- UndoUnit.cs
- PartialList.cs
- WmlTextBoxAdapter.cs
- TextTreePropertyUndoUnit.cs
- ReaderContextStackData.cs
- ValidatedControlConverter.cs
- Route.cs
- LogRecordSequence.cs
- SettingsSection.cs
- Quad.cs
- CodeCompileUnit.cs
- LinqDataSourceContextEventArgs.cs
- DataGridViewSelectedCellCollection.cs
- HttpInputStream.cs
- DbProviderFactory.cs
- DataControlField.cs
- HttpCapabilitiesEvaluator.cs
- Attachment.cs
- BitmapEffectGroup.cs
- Rotation3DAnimationUsingKeyFrames.cs
- IndicFontClient.cs
- XslAstAnalyzer.cs
- ProcessInfo.cs
- TextBoxAutoCompleteSourceConverter.cs
- UrlMappingCollection.cs
- DefaultValueTypeConverter.cs
- Debug.cs
- TdsParserStaticMethods.cs
- ISAPIApplicationHost.cs
- Connector.xaml.cs
- BindingBase.cs
- ClientFormsAuthenticationMembershipProvider.cs
- SoapCodeExporter.cs
- AmbientLight.cs
- StylusCaptureWithinProperty.cs
- ColorTranslator.cs
- WebServiceTypeData.cs
- ByteAnimation.cs