Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Core.Presentation / System / ServiceModel / Activities / Presentation / EndpointDesigner.cs / 1305376 / EndpointDesigner.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Activities.Presentation { using System; using System.ComponentModel; using System.ServiceModel; using System.Activities.Presentation.Metadata; using System.Activities.Presentation.PropertyEditing; sealed class EndpointDesigner { internal static void RegisterMetadata(AttributeTableBuilder builder) { Type endpointType = typeof(Endpoint); var browsableAttribute = new BrowsableAttribute(false); builder.AddCustomAttributes(endpointType, endpointType.GetProperty("BehaviorConfigurationName"), browsableAttribute); builder.AddCustomAttributes(endpointType, endpointType.GetProperty("Headers"), browsableAttribute); builder.AddCustomAttributes(endpointType, endpointType.GetProperty("Identity"), browsableAttribute); builder.AddCustomAttributes(endpointType, endpointType.GetProperty("Name"), browsableAttribute); builder.AddCustomAttributes(endpointType, endpointType.GetProperty("ListenUri"), browsableAttribute); builder.AddCustomAttributes(endpointType, endpointType.GetProperty("ServiceContractName"), browsableAttribute); builder.AddCustomAttributes(endpointType, endpointType.GetProperty("Binding"), PropertyValueEditor.CreateEditorAttribute(typeof(BindingPropertyValueEditor))); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Geometry.cs
- StylusButtonEventArgs.cs
- SurrogateSelector.cs
- BinaryObjectReader.cs
- AutoFocusStyle.xaml.cs
- Int32RectValueSerializer.cs
- AffineTransform3D.cs
- DataGridLinkButton.cs
- CssStyleCollection.cs
- ScrollBar.cs
- AspProxy.cs
- MetadataUtil.cs
- KerberosSecurityTokenProvider.cs
- ServiceBuildProvider.cs
- DocumentViewerHelper.cs
- ToolStripRendererSwitcher.cs
- OneOfTypeConst.cs
- TableLayoutPanelCellPosition.cs
- CalendarTable.cs
- InternalConfigEventArgs.cs
- ZipPackagePart.cs
- XmlnsCompatibleWithAttribute.cs
- Debug.cs
- GifBitmapDecoder.cs
- SchemaTypeEmitter.cs
- WebPartDisplayModeEventArgs.cs
- UIHelper.cs
- EntityConnectionStringBuilder.cs
- OleAutBinder.cs
- XXXOnTypeBuilderInstantiation.cs
- StrongTypingException.cs
- _UriTypeConverter.cs
- XmlSchemaIdentityConstraint.cs
- PostBackOptions.cs
- ConnectionManagementElement.cs
- TextPattern.cs
- RegexCharClass.cs
- AvTraceDetails.cs
- ConsumerConnectionPointCollection.cs
- AutomationTextAttribute.cs
- CookieHandler.cs
- BinaryParser.cs
- _HelperAsyncResults.cs
- NullReferenceException.cs
- WindowsPrincipal.cs
- DesignerCategoryAttribute.cs
- DesignSurface.cs
- _DisconnectOverlappedAsyncResult.cs
- SmtpSection.cs
- ContainerActivationHelper.cs
- TypeHelpers.cs
- XPathDocument.cs
- xmlglyphRunInfo.cs
- CSharpCodeProvider.cs
- ArrayHelper.cs
- GenericsInstances.cs
- StorageComplexTypeMapping.cs
- ClearCollection.cs
- PathFigureCollection.cs
- CryptoConfig.cs
- RectConverter.cs
- SQLChars.cs
- DynamicMetaObjectBinder.cs
- CodePageUtils.cs
- MultilineStringConverter.cs
- DataPagerField.cs
- SystemTcpStatistics.cs
- TripleDES.cs
- ProfileManager.cs
- Rethrow.cs
- DrawTreeNodeEventArgs.cs
- DefaultWorkflowLoaderService.cs
- ArgumentOutOfRangeException.cs
- RectangleGeometry.cs
- NumberEdit.cs
- ReverseQueryOperator.cs
- StylusLogic.cs
- NetTcpSecurityElement.cs
- Internal.cs
- _OSSOCK.cs
- Section.cs
- AddingNewEventArgs.cs
- TextClipboardData.cs
- ScalarRestriction.cs
- IPHostEntry.cs
- EntityTypeEmitter.cs
- SoapCommonClasses.cs
- ConnectionsZoneAutoFormat.cs
- ListViewCommandEventArgs.cs
- MenuItemBindingCollection.cs
- BamlResourceContent.cs
- SqlConnection.cs
- AppliedDeviceFiltersEditor.cs
- StrongNameUtility.cs
- AssemblyBuilder.cs
- ComponentDispatcher.cs
- SpellCheck.cs
- Size3D.cs
- NetStream.cs
- SchemaElement.cs