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
- OrthographicCamera.cs
- Condition.cs
- filewebrequest.cs
- CodeVariableReferenceExpression.cs
- IndexedGlyphRun.cs
- FontDriver.cs
- XmlIgnoreAttribute.cs
- ExpressionBuilderContext.cs
- DataGridRowClipboardEventArgs.cs
- AsyncCodeActivity.cs
- ContractAdapter.cs
- ImageConverter.cs
- FontCollection.cs
- InternalRelationshipCollection.cs
- DataControlFieldCollection.cs
- StackBuilderSink.cs
- OutputWindow.cs
- Inline.cs
- CatchBlock.cs
- VBCodeProvider.cs
- BrowserCapabilitiesFactory35.cs
- ObjectView.cs
- EventWaitHandle.cs
- XmlAnyElementAttributes.cs
- RegexCompilationInfo.cs
- QilParameter.cs
- SessionEndedEventArgs.cs
- assemblycache.cs
- DocumentViewerBaseAutomationPeer.cs
- Scene3D.cs
- DataGridViewColumnConverter.cs
- IndexerNameAttribute.cs
- DateTimeOffsetConverter.cs
- WebPartExportVerb.cs
- BooleanConverter.cs
- SqlCacheDependencySection.cs
- EmptyEnumerator.cs
- UserControlCodeDomTreeGenerator.cs
- SelectionEditor.cs
- RegexCaptureCollection.cs
- Encoder.cs
- DataGrid.cs
- MetadataConversionError.cs
- DecoratedNameAttribute.cs
- TypefaceMap.cs
- SelfSignedCertificate.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- StorageRoot.cs
- Command.cs
- DataRelation.cs
- BaseCodeDomTreeGenerator.cs
- EventHandlersStore.cs
- ITextView.cs
- SiteMapPath.cs
- SynchronizationFilter.cs
- datacache.cs
- XmlAttribute.cs
- RawKeyboardInputReport.cs
- ItemPager.cs
- SearchForVirtualItemEventArgs.cs
- ColorPalette.cs
- WindowsTreeView.cs
- UserPreferenceChangingEventArgs.cs
- SafeNativeMemoryHandle.cs
- DataRelationPropertyDescriptor.cs
- CustomTypeDescriptor.cs
- RemotingSurrogateSelector.cs
- Clause.cs
- RequestQueryParser.cs
- MouseCaptureWithinProperty.cs
- SocketElement.cs
- MasterPageCodeDomTreeGenerator.cs
- FixedSOMLineRanges.cs
- TaskFileService.cs
- DataControlImageButton.cs
- DataSourceControlBuilder.cs
- DeclarationUpdate.cs
- SetterBase.cs
- CompositeKey.cs
- Int16Converter.cs
- SemaphoreSecurity.cs
- FutureFactory.cs
- LexicalChunk.cs
- RelationshipConverter.cs
- ThemeDictionaryExtension.cs
- MinimizableAttributeTypeConverter.cs
- TextStore.cs
- FactoryRecord.cs
- HeaderLabel.cs
- Underline.cs
- PropertyValueChangedEvent.cs
- SapiGrammar.cs
- UrlPropertyAttribute.cs
- ThemeDictionaryExtension.cs
- PocoPropertyAccessorStrategy.cs
- UrlMappingCollection.cs
- Int64Storage.cs
- VariableQuery.cs
- CatalogZone.cs
- sitestring.cs