Access Modifiers

Định nghĩa Access Modifiers là gì?

Access ModifiersTruy cập Modifiers. Đây là nghĩa tiếng Việt của thuật ngữ Access Modifiers - một thuật ngữ thuộc nhóm Technology Terms - Công nghệ thông tin.

Độ phổ biến(Factor rating): 5/10

Bổ truy cập được từ khóa dùng để xác định khả năng tiếp cận của một lớp (hoặc gõ) và các thành viên của nó. Những bổ trợ có thể sử dụng từ mã bên trong hoặc bên ngoài ứng dụng hiện hành. bổ truy cập trong .NET được sử dụng để kiểm soát khả năng tiếp cận của mỗi thành viên của một loại từ các khu vực khác nhau có thể có của mã. Điều này có thể được xử lý từ bên trong lắp ráp hiện tại hoặc bên ngoài nó. Một assembly đại diện cho một đơn vị logic của tính năng và bao gồm các loại và các nguồn lực nằm trong một hoặc nhiều file. Mục đích của việc sử dụng bổ truy cập là thực hiện đóng gói, tách giao diện của một loại từ thực hiện. Với điều này, những lợi ích sau đây có thể được bắt nguồn:

Xem thêm: Thuật ngữ công nghệ A-Z

Giải thích ý nghĩa

.NET framework cung cấp một tùy chọn của việc có năm loại bổ truy cập:

What is the Access Modifiers? - Definition

Access modifiers are keywords used to specify the accessibility of a class (or type) and its members. These modifiers can be used from code inside or outside the current application. Access modifiers in .NET are used to control the accessibility of each of the members of a type from different possible areas of code. This can be handled from within the current assembly or outside it. An assembly represents a logical unit of functionality and consists of types and resources located in one or more files. The purpose of using access modifiers is to implement encapsulation, which separates the interface of a type from its implementation. With this, the following benefits can be derived:

Understanding the Access Modifiers

The .NET framework provides an option of having five types of access modifiers:

Thuật ngữ liên quan

  • .NET Framework (.NET)
  • Wireless Abstract XML (WAX)
  • Bidirectional Encoder Representations from Transformers (BERT)
  • Intellisense
  • Exploratory Model
  • Operators
  • Debugging
  • Fourth Normal Form (4NF)
  • Driver Development Kit (DDK)
  • Command Line Interface (CLI)

Source: ? Technology Dictionary - Filegi - Techtopedia - Techterm

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *