Làm thế nào tôi có thể thay đổi mặc định Generate Method Stub hành vi trong Visaul Studio để tạo ra phương pháp với cơ thểLàm thế nào để thay đổi "Tạo phương pháp Stub" để ném NotImplementedException trong VS?
throw new NotImplementedException();
thay vì
throw new Exception("The method or operation is not implemented.");
Bạn cũng có thể tạo NotYetImplementedException của riêng mình hoặc WillNeverImplementThisMethodException hoặc MissingCodeHereException hoặc WillFixInNextVersionException :) –