File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/Microsoft.ML.GenAI.Core Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 46
46
<MicrosoftDotNetInteractiveVersion >1.0.0-beta.24375.2</MicrosoftDotNetInteractiveVersion >
47
47
<MicrosoftMLOnnxRuntimeVersion >1.18.1</MicrosoftMLOnnxRuntimeVersion >
48
48
<MlNetMklDepsVersion >0.0.0.12</MlNetMklDepsVersion >
49
- <MicrosoftExtensionsAIVersion >9.0.0 -preview.9.24507.7 </MicrosoftExtensionsAIVersion >
49
+ <MicrosoftExtensionsAIVersion >9.0.1 -preview.1.24570.5 </MicrosoftExtensionsAIVersion >
50
50
<!-- runtime.native.System.Data.SqlClient.sni is not updated by dependency flow as it is not produced live anymore. -->
51
51
<RuntimeNativeSystemDataSqlClientSniVersion >4.4.0</RuntimeNativeSystemDataSqlClientSniVersion >
52
52
<!--
Original file line number Diff line number Diff line change @@ -82,8 +82,7 @@ public virtual void Dispose()
82
82
{
83
83
}
84
84
85
- public virtual TService ? GetService < TService > ( object ? key = null ) where TService : class
86
- {
87
- return null ;
88
- }
85
+ public virtual object ? GetService ( Type serviceType , object ? serviceKey = null ) =>
86
+ serviceKey is null && serviceType is not null && serviceType . IsAssignableFrom ( GetType ( ) ) ? this :
87
+ null ;
89
88
}
You can’t perform that action at this time.
0 commit comments