-1
我不能將此代碼轉換爲vb.net。請幫幫我。謝謝。將此代碼轉換成Vb.net
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace RssReader.Common
{
/// <summary>
/// Provides a standard change-notification implementation.
/// </summary>
public abstract class BindableBase : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public void OnPropertyChanged([CallerMemberName] string propertyName = null) =>
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
protected bool SetProperty<T>(ref T storage, T value,
[CallerMemberName] String propertyName = null)
{
if (object.Equals(storage, value)) return false;
storage = value;
OnPropertyChanged(propertyName);
return true;
}
}
}
我不能將此代碼轉換爲vb.net。非常感謝你