Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / commands / CommandLibraryHelper.cs / 2 / CommandLibraryHelper.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Set of helpers used by all Commands. // // History: // 02/28/2004 : [....] - Created // //--------------------------------------------------------------------------- using System; using System.Security; using System.Security.Permissions; using System.Windows.Input; using MS.Internal.PresentationCore; // for FriendAccessAllowed namespace MS.Internal { [FriendAccessAllowed] internal static class CommandLibraryHelper { internal static RoutedUICommand CreateUICommand(string name, Type ownerType, byte commandId, PermissionSet ps) { if (ps != null) { return new SecureUICommand(ps, name, ownerType, commandId); } else { return new RoutedUICommand(name, ownerType, commandId); } } } } // 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
- SolidColorBrush.cs
- Application.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- UpdatePanelControlTrigger.cs
- UserMapPath.cs
- DataGridCommandEventArgs.cs
- XpsFilter.cs
- LoadWorkflowCommand.cs
- DataGridViewColumnHeaderCell.cs
- DefinitionUpdate.cs
- RadioButtonFlatAdapter.cs
- HandlerFactoryCache.cs
- XPathNavigatorKeyComparer.cs
- RouteCollection.cs
- ExpressionCopier.cs
- CustomCategoryAttribute.cs
- WebHttpBindingCollectionElement.cs
- UpdateException.cs
- SortQuery.cs
- Substitution.cs
- Route.cs
- DocumentPaginator.cs
- GetRecipientListRequest.cs
- SQLStringStorage.cs
- VisualTreeUtils.cs
- DataGridViewAdvancedBorderStyle.cs
- XmlSchemaExternal.cs
- PointHitTestResult.cs
- ToolStrip.cs
- XmlMapping.cs
- PtsHelper.cs
- ADMembershipUser.cs
- PropertyRecord.cs
- EncryptedPackageFilter.cs
- Geometry.cs
- MailWebEventProvider.cs
- XmlNullResolver.cs
- EntitySqlQueryState.cs
- WebMessageEncoderFactory.cs
- UniqueIdentifierService.cs
- HttpRequestMessageProperty.cs
- TextTreeUndoUnit.cs
- TraceContext.cs
- JavaScriptSerializer.cs
- ReflectEventDescriptor.cs
- Dictionary.cs
- TemplateControlBuildProvider.cs
- XmlDataImplementation.cs
- latinshape.cs
- RangeValidator.cs
- ApplicationBuildProvider.cs
- ClientOperation.cs
- RadioButtonBaseAdapter.cs
- WebConfigurationManager.cs
- DataShape.cs
- MultilineStringConverter.cs
- MessageQueueInstaller.cs
- AttributeCollection.cs
- WebBrowserSiteBase.cs
- BooleanKeyFrameCollection.cs
- IssuedSecurityTokenProvider.cs
- ToolStripDropTargetManager.cs
- InheritanceAttribute.cs
- SoapIncludeAttribute.cs
- GenericUriParser.cs
- XmlAttributes.cs
- Line.cs
- EventNotify.cs
- PKCS1MaskGenerationMethod.cs
- Int16.cs
- BooleanFunctions.cs
- ConfigXmlDocument.cs
- ScrollableControl.cs
- AutoGeneratedFieldProperties.cs
- SimpleRecyclingCache.cs
- TableStyle.cs
- ProtectedConfiguration.cs
- MessageQueuePermission.cs
- DataGridToolTip.cs
- Ray3DHitTestResult.cs
- RealProxy.cs
- DecoderReplacementFallback.cs
- ByteStorage.cs
- EntryPointNotFoundException.cs
- ViewBase.cs
- IssuanceLicense.cs
- SQLBinary.cs
- ParameterInfo.cs
- Substitution.cs
- NameNode.cs
- CookieProtection.cs
- PartialList.cs
- BitmapEffect.cs
- ContentControl.cs
- CultureInfoConverter.cs
- InstanceCreationEditor.cs
- QueryStatement.cs
- ApplicationServiceHelper.cs
- SinglePhaseEnlistment.cs
- DragStartedEventArgs.cs