internal CaliburnMicroPropertyChangedBase() : base("Caliburn.Micro.PropertyChangedBase") { this.Set = new QualifiedMethod(this, nameof(this.Set)); this.NotifyOfPropertyChange = new QualifiedMethod(this, nameof(this.NotifyOfPropertyChange)); this.NotifyOfPropertyChangeOfT = new QualifiedMethod(this, $"{nameof(this.NotifyOfPropertyChange)}`1"); }
internal MicrosoftPracticesPrismMvvmBindableBase() : base("Microsoft.Practices.Prism.Mvvm.BindableBase") { this.SetProperty = new QualifiedMethod(this, nameof(this.SetProperty)); this.OnPropertyChanged = new QualifiedMethod(this, nameof(this.OnPropertyChanged)); this.OnPropertyChangedOfT = new QualifiedMethod(this, $"{nameof(this.OnPropertyChanged)}`1"); }
internal DependencyObjectType() : base("System.Windows.DependencyObject") { this.GetValue = new QualifiedMethod(this, nameof(this.GetValue)); this.SetValue = new QualifiedMethod(this, nameof(this.SetValue)); this.SetCurrentValue = new QualifiedMethod(this, nameof(this.SetCurrentValue)); }
internal MvvmLightObservableObject() : base("GalaSoft.MvvmLight.ObservableObject") { this.Set = new QualifiedMethod(this, nameof(this.Set)); this.RaisePropertyChanged = new QualifiedMethod(this, nameof(this.RaisePropertyChanged)); this.RaisePropertyChangedOfT = new QualifiedMethod(this, $"{nameof(this.RaisePropertyChanged)}`1"); }
internal MvvmCrossMvxNotifyPropertyChanged() : base("MvvmCross.ViewModels.MvxNotifyPropertyChanged") { this.SetProperty = new QualifiedMethod(this, nameof(this.SetProperty)); this.RaisePropertyChanged = new QualifiedMethod(this, nameof(this.RaisePropertyChanged)); this.RaisePropertyChangedOfT = new QualifiedMethod(this, $"{nameof(this.RaisePropertyChanged)}`1"); }
internal StyletPropertyChangedBase() : base("Stylet.PropertyChangedBase") { this.SetAndNotify = new QualifiedMethod(this, nameof(this.SetAndNotify)); this.NotifyOfPropertyChange = new QualifiedMethod(this, nameof(this.NotifyOfPropertyChange)); this.NotifyOfPropertyChangeOfT = new QualifiedMethod(this, $"{nameof(this.NotifyOfPropertyChange)}`1"); }
internal MvvmLightViewModelBase() : base("GalaSoft.MvvmLight.ViewModelBase") { this.Set = new QualifiedMethod(this, nameof(this.Set)); this.RaisePropertyChanged = new QualifiedMethod(this, nameof(this.RaisePropertyChanged)); this.RaisePropertyChangedOfT = new QualifiedMethod(this, $"{nameof(this.RaisePropertyChanged)}`1"); }
internal StringType() : base("System.String", "string") { this.Empty = new QualifiedField(this, nameof(this.Empty)); this.Equals = new QualifiedMethod(this, nameof(this.Equals)); }
internal PropertyChangedEventHandlerType() : base("System.ComponentModel.PropertyChangedEventHandler") { this.Invoke = new QualifiedMethod(this, nameof(this.Invoke)); }
internal NullableType() : base("System.Nullable") { this.Equals = new QualifiedMethod(this, nameof(this.Equals)); }
internal static bool TryGetInvokedSymbol(this InvocationExpressionSyntax invocation, QualifiedMethod expected, SemanticModel semanticModel, CancellationToken cancellationToken, out IMethodSymbol result) { result = null; if (invocation == null) { return(false); } if (invocation.TryGetInvokedMethodName(out var name) && name != expected.Name) { return(false); } if (semanticModel.GetSymbolSafe(invocation, cancellationToken) is IMethodSymbol candidate && candidate == expected) { result = candidate; return(true); } return(false); }
internal ObjectType() : base("System.Object", "object") { this.Equals = new QualifiedMethod(this, nameof(this.Equals)); this.ReferenceEquals = new QualifiedMethod(this, nameof(this.ReferenceEquals)); }
internal EqualityComparerOfTType() : base("System.Collections.Generic.EqualityComparer`1") { this.EqualsMethod = new QualifiedMethod(this, "Equals"); }