C# Class Microsoft.Sarif.Viewer.KeyValuePairPropertyDescriptor

A custom property descriptor which represents one key-value-pair. The property is always grouped/displayed in the Properties category in the Properties tool window.
Inheritance: System.ComponentModel.PropertyDescriptor
Afficher le fichier Open project: Microsoft/sarif-sdk

Méthodes publiques

Méthode Description
CanResetValue ( object component ) : bool
GetValue ( object component ) : object
ResetValue ( object component ) : void
SetValue ( object component, object value ) : void
ShouldSerializeValue ( object component ) : bool

Private Methods

Méthode Description
KeyValuePairPropertyDescriptor ( string key, string value ) : System

Method Details

CanResetValue() public méthode

public CanResetValue ( object component ) : bool
component object
Résultat bool

GetValue() public méthode

public GetValue ( object component ) : object
component object
Résultat object

ResetValue() public méthode

public ResetValue ( object component ) : void
component object
Résultat void

SetValue() public méthode

public SetValue ( object component, object value ) : void
component object
value object
Résultat void

ShouldSerializeValue() public méthode

public ShouldSerializeValue ( object component ) : bool
component object
Résultat bool