6 مستودعات
Using runtime type analysis to match dependency requests with available providers in a container.
Distinct from Runtime Reflection: Specializes runtime reflection for the purpose of dependency injection resolution.
Explore 6 awesome GitHub repositories matching part of an awesome list · Reflection-Based Dependency Resolution. Refine with filters or upvote what's useful.
Fx is a dependency injection framework and application lifecycle manager for Go. It functions as a component model container that automates the instantiation and connection of components by analyzing constructor parameters and return values to resolve complex dependency graphs. The framework distinguishes itself through module-based component bundling, which encapsulates related constructors into reusable units to manage visibility and logic. It provides advanced resolution capabilities, including mapping concrete types to interfaces for decoupling, resolving dependency ambiguities via unique
Uses runtime type analysis to match requested dependencies with available providers.
Autofac is a dependency injection framework and inversion of control container for .NET. It functions as a component registration engine that decouples class implementations from their dependencies by injecting required services via constructors or properties. The project includes an assembly scanning library to automatically discover and register components within compiled binaries based on specific type criteria. It provides a service lifetime manager to control object memory duration using singletons, instance-per-dependency, or isolated request scopes. The framework covers a broad range
Uses runtime type inspection to automatically identify and inject required services into constructor parameters.
dig هو إطار عمل لحقن التبعية القائم على الانعكاس ومحلل رسم بياني للكائنات لـ Go. يعمل كحاوية تلبي تبعيات النوع تلقائياً وتدير إنشاء شبكات معقدة من الكائنات أثناء بدء تشغيل التطبيق. يستخدم المشروع رسماً بيانياً موجهاً غير دوري لتحديد التسلسل الضروري لإنشاء الكائنات ويستخدم تعيين المزود القائم على الواجهة لفصل التنفيذات الملموسة عن واجهاتها الملباة. ويحلل التسلسل الهرمي للكائنات من خلال دقة النوع القائمة على الانعكاس وأسلاك المكونات ذات التمريرة الواحدة لضمان تلبية جميع المتطلبات قبل التنفيذ.
Uses runtime type analysis and Go reflection to match dependency requests with available providers.
إطار عمل MvvmCross هو إطار عمل .NET MVVM مصمم لبناء تطبيقات عبر المنصات عن طريق فصل منطق الأعمال عن واجهات المستخدم الأصلية. يعمل كمحرك تنقل ومكتبة لربط بيانات واجهة المستخدم، مما يتيح تغليف المنطق داخل نماذج العرض (View models) التي يتم إعادة استخدامها عبر أنظمة تشغيل مختلفة. يوفر إطار العمل طبقة تجريد عتاد أصلية وحاوية حقن تبعية (Dependency injection) لفصل المكونات وتوفير واجهة متسقة للوصول إلى ميزات الجهاز. ينسق إطار العمل الانتقالات الآمنة للأنواع بين الشاشات الأصلية ويدير مزامنة البيانات بين فئات المنطق المشتركة ومكونات واجهة المستخدم الأصلية من خلال إشعارات تغيير الخصائص. يغطي المشروع مجموعة واسعة من القدرات، بما في ذلك إدارة دورة حياة التطبيق، والربط العميق بـ URI، وتسجيل الخدمة القائم على عكس التحكم (IoC). كما يتضمن أدوات للتدويل، ومراسلة النشر والاشتراك عبر مجمع أحداث مرجعي ضعيف، وتكامل العتاد للمستشعرات، وتحديد الموقع الجغرافي، والمصادقة البيومترية.
Implements dependency resolution by using runtime type analysis to match requests with providers in the IoC container.
Inject is a dependency injection framework for Go that automates the assembly of complex object graphs. By leveraging runtime reflection, the library dynamically inspects object structures to resolve and populate required dependencies, decoupling component initialization from business logic. The framework manages object lifecycles through both singleton and factory-based provisioning. It maintains a central registry to share singletons across an application for consistent state, while also supporting the creation of unique, private instances to isolate state between different components. To
Uses runtime reflection to dynamically inspect object structures and automatically populate dependencies.
Inject هي مكتبة حقن تبعية لـ Go تدير دورات حياة الكائنات وتوصل مكونات التطبيق عن طريق أتمتة توفير التبعيات. تعمل كحاوية قائمة على الانعكاس تعين قيماً محددة لأنواعها المقابلة، مما يتيح الاسترجاع التلقائي وحقن الكائنات في منطق التطبيق. تتميز المكتبة بقدرتها على إجراء استدعاء دالة تلقائي، حيث تفحص توقيعات الدالة في وقت التشغيل لحل وتوفير الوسيطات المطلوبة من سجل مركزي. كما تدعم حقن حقل الهيكل، الذي يملأ خصائص الكائن عن طريق المسح بحثاً عن علامات بيانات تعريف محددة أثناء التهيئة. يسهل إطار العمل التصميم المعياري من خلال إدارة الحاوية الهرمية، مما يسمح للحاويات الفرعية بتفويض عمليات بحث التبعية إلى النطاقات الأصلية عندما يكون النوع المطلوب مفقوداً محلياً. يدعم هذا النظام الحل القائم على الواجهة، مما يضمن مطابقة التنفيذات الملموسة بشكل صحيح للأنواع المطلوبة بناءً على تقييم وقت التشغيل.
Matches concrete implementations to requested interface types using runtime reflection.