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
- ServerValidateEventArgs.cs
- DataFormat.cs
- SymDocumentType.cs
- safex509handles.cs
- Camera.cs
- wgx_commands.cs
- FilterEventArgs.cs
- DataObjectEventArgs.cs
- DataGridViewCellValueEventArgs.cs
- KoreanCalendar.cs
- AuthenticationServiceManager.cs
- Cursor.cs
- ViewKeyConstraint.cs
- TimeoutHelper.cs
- DataBindingHandlerAttribute.cs
- AutomationPatternInfo.cs
- HandleCollector.cs
- InkPresenterAutomationPeer.cs
- TablePattern.cs
- HasActivatableWorkflowEvent.cs
- ControlTemplate.cs
- NativeMethods.cs
- DataBoundControlHelper.cs
- XmlTypeAttribute.cs
- UserNamePasswordValidationMode.cs
- SafeNativeMemoryHandle.cs
- InitializationEventAttribute.cs
- SerialStream.cs
- RowSpanVector.cs
- ManifestResourceInfo.cs
- ProfessionalColors.cs
- smtppermission.cs
- DatePickerDateValidationErrorEventArgs.cs
- ButtonField.cs
- OracleCommand.cs
- FormsAuthenticationUser.cs
- ImageListStreamer.cs
- Label.cs
- TrackingProfile.cs
- CommonDialog.cs
- DataGridParentRows.cs
- DiffuseMaterial.cs
- XPathNodeInfoAtom.cs
- IDictionary.cs
- StateManagedCollection.cs
- ListenDesigner.cs
- BuildManager.cs
- Pair.cs
- JsonDeserializer.cs
- DataGridViewCellCollection.cs
- SerialPort.cs
- DashStyle.cs
- DataSourceCacheDurationConverter.cs
- HatchBrush.cs
- MarkupCompilePass2.cs
- BmpBitmapDecoder.cs
- HtmlFormParameterWriter.cs
- TabItem.cs
- QilList.cs
- Attributes.cs
- QueryOutputWriter.cs
- Accessible.cs
- VScrollBar.cs
- ImageAutomationPeer.cs
- SoapServerMessage.cs
- Relationship.cs
- LoadedEvent.cs
- HwndMouseInputProvider.cs
- DataListItemCollection.cs
- ProviderCommandInfoUtils.cs
- ActiveXContainer.cs
- AxisAngleRotation3D.cs
- configsystem.cs
- RequiredAttributeAttribute.cs
- DBPropSet.cs
- Paragraph.cs
- MembershipSection.cs
- WebConfigurationManager.cs
- MemoryStream.cs
- XmlSortKeyAccumulator.cs
- Resources.Designer.cs
- PrinterResolution.cs
- HtmlInputImage.cs
- PanelStyle.cs
- Span.cs
- CodeEventReferenceExpression.cs
- DebugHandleTracker.cs
- RemotingConfigParser.cs
- MetadataArtifactLoaderCompositeFile.cs
- ProvideValueServiceProvider.cs
- NamespaceEmitter.cs
- LazyTextWriterCreator.cs
- DoubleAnimation.cs
- BackgroundWorker.cs
- ImageMap.cs
- RuleSetBrowserDialog.cs
- SplayTreeNode.cs
- WorkflowRuntime.cs
- IsolatedStorageFile.cs
- Point3DKeyFrameCollection.cs