NotifyPropertyChangedInvocatorAttribute - класс |
Пространство имён: Tessa.Properties.Resharper
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public sealed class NotifyPropertyChangedInvocatorAttribute : Attribute
Тип NotifyPropertyChangedInvocatorAttribute предоставляет следующие члены.
Имя | Описание | |
---|---|---|
NotifyPropertyChangedInvocatorAttribute |
Initializes a new instance of the NotifyPropertyChangedInvocatorAttribute class.
| |
NotifyPropertyChangedInvocatorAttribute(String) |
Initializes a new instance of the NotifyPropertyChangedInvocatorAttribute class.
|
Имя | Описание | |
---|---|---|
ParameterName |
Gets the parameter name.
| |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Унаследован от Attribute.) |
Имя | Описание | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Унаследован от Attribute.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object.) | |
GetHashCode | Returns the hash code for this instance. (Унаследован от Attribute.) | |
GetType | Gets the Type of the current instance. (Унаследован от Object.) | |
IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Унаследован от Attribute.) | |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Унаследован от Attribute.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object.) | |
ToString | Returns a string that represents the current object. (Унаследован от Object.) |
Имя | Описание | |
---|---|---|
Get | (Определяется ComHelper.) | |
InternalMarkerCanvas |
Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor.) | |
Invoke | (Определяется ComHelper.) | |
Set | (Определяется ComHelper.) |
public class Foo : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; [NotifyPropertyChangedInvocator] protected virtual void NotifyChanged(string propertyName) {} private string _name; public string Name { get { return _name; } set { _name = value; NotifyChanged("LastName"); // Warning } } }