protected override Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor CreateRolePlayerPropertyDescriptor(Microsoft.VisualStudio.Modeling.ModelElement sourceRolePlayer, Microsoft.VisualStudio.Modeling.DomainRoleInfo targetRoleInfo, Attribute[] sourceDomainRoleInfoAttributes) { System.Type type = targetRoleInfo.DomainRelationship.ImplementationClass; if ((sourceRolePlayer is DomainRole) && (type == typeof(DomainRoleReferencesCustomPropertyGridEditor))) { return(new DomainRoleReferencesCustomPropertyGridEditorDescriptor(sourceRolePlayer, targetRoleInfo, sourceDomainRoleInfoAttributes)); } return(base.CreateRolePlayerPropertyDescriptor(sourceRolePlayer, targetRoleInfo, sourceDomainRoleInfoAttributes)); }
public DomainRoleReferencesCustomPropertyGridEditorDescriptor(Microsoft.VisualStudio.Modeling.ModelElement sourcePlayer, Microsoft.VisualStudio.Modeling.DomainRoleInfo domainRole, System.Attribute[] sourceDomainRoleInfoAttributes) : base(sourcePlayer, domainRole, sourceDomainRoleInfoAttributes) { }
public BaseModelContextRolePlayerPropertyDescriptor(Microsoft.VisualStudio.Modeling.ModelElement sourcePlayer, Microsoft.VisualStudio.Modeling.DomainRoleInfo domainRole, System.Attribute[] sourceDomainRoleInfoAttributes) : base(sourcePlayer, domainRole, sourceDomainRoleInfoAttributes) { }