青年中文青年中文

偏課的英文

英文翻譯

Partial class

重點詞匯

偏課───Partial class

雙語使用場景

At the top of the partial class definition for the form, add the following code.───在表單的partial類定義頂部,添加以下代碼。

It is always optional to re-state any base interface in a partial class.───類中是否重新聲明它所實現的接口也是可選的。

is added to the partial class that contains all of your functions.───被添加到包含所有函數的局部類。

A partial method is usually defined in a partial class file and is optionally implemented in the regular class file.───分部方法通常被定義在一個分部類中,在常規的類文件中也可實現。

The compiled result will assume the page root's backing type to be the basis for the partial class, even if it not specified.───即使沒有指定,編譯的結果仍會采用頁面根項目的支援類型做為部分類別的基礎。

However in C#, each source files stand alone, so by making each file part of a partial class, I was able to access routines between files.───而在C#中,每個源文件相互獨立。為了能夠訪問不同文件中的代碼,我將每個(C語言)文件做成partial類的一部分。

英語使用場景

The code-behind file contains a partial class that inherits from a base page class.

Write a function in the partial class that verifies the values as dates and returns a Boolean variable.

相關翻譯推薦