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
- WebEncodingValidatorAttribute.cs
- PointCollectionConverter.cs
- StateRuntime.cs
- TextBlock.cs
- _SafeNetHandles.cs
- listitem.cs
- GlyphShapingProperties.cs
- OpenTypeMethods.cs
- FileClassifier.cs
- IgnoreDeviceFilterElementCollection.cs
- __ConsoleStream.cs
- CodeAccessPermission.cs
- CryptographicAttribute.cs
- ActivityCodeGenerator.cs
- OleDbMetaDataFactory.cs
- XmlSigningNodeWriter.cs
- InheritanceRules.cs
- XPathAxisIterator.cs
- Message.cs
- SpeechRecognitionEngine.cs
- TreeNodeSelectionProcessor.cs
- Grammar.cs
- FolderNameEditor.cs
- TextPattern.cs
- ViewManagerAttribute.cs
- DictionaryManager.cs
- ListViewItem.cs
- ErrorWebPart.cs
- SmtpFailedRecipientsException.cs
- ProcessHostMapPath.cs
- OneWayBindingElementImporter.cs
- DbBuffer.cs
- CertificateReferenceElement.cs
- ZipIOExtraFieldPaddingElement.cs
- WindowsGraphicsWrapper.cs
- SelectingProviderEventArgs.cs
- UnsafeNativeMethodsTablet.cs
- KerberosTicketHashIdentifierClause.cs
- FormViewUpdatedEventArgs.cs
- XmlReturnReader.cs
- PocoPropertyAccessorStrategy.cs
- LingerOption.cs
- ProjectionPruner.cs
- XmlSchemaAppInfo.cs
- WhitespaceSignificantCollectionAttribute.cs
- SoapCodeExporter.cs
- ToolStripSettings.cs
- safelink.cs
- ScrollProviderWrapper.cs
- HtmlEmptyTagControlBuilder.cs
- BindingMemberInfo.cs
- MailWebEventProvider.cs
- FigureParaClient.cs
- SHA384.cs
- PageAsyncTaskManager.cs
- ControlCollection.cs
- TargetParameterCountException.cs
- StandardToolWindows.cs
- HyperLinkField.cs
- SystemBrushes.cs
- ImmutableClientRuntime.cs
- LoadGrammarCompletedEventArgs.cs
- DecimalAnimationBase.cs
- ViewManagerAttribute.cs
- XmlSchemaAnyAttribute.cs
- ConnectionsZoneDesigner.cs
- FixedNode.cs
- BrushValueSerializer.cs
- SignedXml.cs
- XmlEnumAttribute.cs
- HttpListenerPrefixCollection.cs
- LineGeometry.cs
- SqlServices.cs
- BaseDataListActionList.cs
- GuidelineCollection.cs
- ProcessThreadCollection.cs
- mactripleDES.cs
- IdentitySection.cs
- SeparatorAutomationPeer.cs
- UserControlBuildProvider.cs
- Relationship.cs
- Style.cs
- RtfToken.cs
- CDSsyncETWBCLProvider.cs
- OdbcInfoMessageEvent.cs
- MessageBodyMemberAttribute.cs
- DesignerDataTableBase.cs
- ParameterDataSourceExpression.cs
- MDIWindowDialog.cs
- TextCompositionEventArgs.cs
- KeyValueConfigurationCollection.cs
- SerializationStore.cs
- QueryResponse.cs
- RegexRunner.cs
- Perspective.cs
- Span.cs
- PermissionToken.cs
- ImageBrush.cs
- DefinitionProperties.cs
- BamlMapTable.cs