ServiceContainer.DefaultServices Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the default services implemented directly by ServiceContainer.
protected:
virtual property cli::array <Type ^> ^ DefaultServices { cli::array <Type ^> ^ get(); };
protected virtual Type[] DefaultServices { get; }
member this.DefaultServices : Type[]
Protected Overridable ReadOnly Property DefaultServices As Type()
Property Value
The default services.
Remarks
This property returns the default services that are implemented directly on this IServiceContainer. the default implementation of this property is to return the IServiceContainer and ServiceContainer types. You may override this property and return your own types, modifying the default behavior of GetService.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για