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
- DecimalKeyFrameCollection.cs
- AsyncStreamReader.cs
- PassportAuthentication.cs
- PanelStyle.cs
- XmlAttributeAttribute.cs
- validationstate.cs
- DeferredSelectedIndexReference.cs
- ContentPropertyAttribute.cs
- LabelLiteral.cs
- JavascriptXmlWriterWrapper.cs
- StrokeCollectionDefaultValueFactory.cs
- prompt.cs
- SettingsAttributes.cs
- StatusBar.cs
- PolyQuadraticBezierSegment.cs
- ImageDesigner.cs
- XmlChoiceIdentifierAttribute.cs
- DecoderExceptionFallback.cs
- TraceEventCache.cs
- ProviderCollection.cs
- LineSegment.cs
- LinqDataSource.cs
- RegexCapture.cs
- ItemCollection.cs
- EdgeModeValidation.cs
- MessageProperties.cs
- UnmanagedMarshal.cs
- EventManager.cs
- SqlExpander.cs
- XmlnsDictionary.cs
- ViewService.cs
- LinkConverter.cs
- MimeMapping.cs
- ProcessHostMapPath.cs
- FormConverter.cs
- TreeViewEvent.cs
- ErrorLog.cs
- IISMapPath.cs
- Calendar.cs
- objectresult_tresulttype.cs
- Trace.cs
- ObjectQueryProvider.cs
- ObjectQueryState.cs
- PropertyMetadata.cs
- ResXResourceSet.cs
- CodeBinaryOperatorExpression.cs
- Select.cs
- _AcceptOverlappedAsyncResult.cs
- FormViewPageEventArgs.cs
- RsaSecurityKey.cs
- PermissionToken.cs
- HostedBindingBehavior.cs
- TableRow.cs
- DataGridRow.cs
- BooleanFunctions.cs
- ProcessRequestArgs.cs
- ZipIOBlockManager.cs
- AppSettingsReader.cs
- HandleExceptionArgs.cs
- Double.cs
- StyleCollection.cs
- WebPartsPersonalizationAuthorization.cs
- DescriptionAttribute.cs
- Buffer.cs
- ClientTarget.cs
- SignatureToken.cs
- ApplicationContext.cs
- DocumentOrderQuery.cs
- StringComparer.cs
- tooltip.cs
- State.cs
- ConnectionStringSettings.cs
- DocumentViewerHelper.cs
- RectangleF.cs
- ToolboxItem.cs
- SQLInt64.cs
- MsmqProcessProtocolHandler.cs
- ResetableIterator.cs
- UnionCodeGroup.cs
- CodeBinaryOperatorExpression.cs
- VolatileEnlistmentState.cs
- RelatedCurrencyManager.cs
- FieldBuilder.cs
- UriWriter.cs
- CategoryNameCollection.cs
- XamlWrapperReaders.cs
- TrustManagerMoreInformation.cs
- ObjectListItemCollection.cs
- ObjectResult.cs
- OutputWindow.cs
- ToolStripDropDownButton.cs
- ToolStripLabel.cs
- SecurityToken.cs
- ToolStripRendererSwitcher.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- MessageSmuggler.cs
- RecognizeCompletedEventArgs.cs
- ContextStack.cs
- Visual.cs
- Pts.cs