From a147fef1013cd5dcc90a4b71ed8b73508266b997 Mon Sep 17 00:00:00 2001 From: "Md. Ishtiaq Ahamed Fahim" Date: Thu, 14 Mar 2024 12:55:26 +0600 Subject: [PATCH] Added C# syntex highlighting where possible --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2b61baa..57dcf33 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ Additionally, by creating custom factories or custom resolvers, you can handle m ### Installer -``` +```cs public class SomeInstaller : BindingInstallerScriptableObject { public override void Install(DIContainer container, IContextArg contextArg) @@ -130,7 +130,7 @@ public class SomeInstaller : BindingInstallerScriptableObject ### Constructor Injection -``` +```cs class ExampleClass { // Constructor Injection @@ -141,7 +141,7 @@ class ExampleClass ### Method Injection -``` +```cs class ExampleClass { // Method Injection @@ -153,7 +153,7 @@ class ExampleClass ### Injection to MonoBehaviour -``` +```cs // Inherits IInjectableComponent class ExampleComponent : MonoBehaviour, IInjectableComponent { @@ -162,4 +162,4 @@ class ExampleComponent : MonoBehaviour, IInjectableComponent public void Construct(SomeClass someClass) { ... } } -``` \ No newline at end of file +```