Patrick Barron
dc85d86ea1
Enable in-process restarting
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2 years ago
Bond_009
19824bff94
Minor improvements
3 years ago
Bond-009
a4a3f598af
Merge pull request #5982 from Bond-009/nullable
4 years ago
BaronGreenback
2e98de9062
Code Clean up: Convert to null-coalescing operator ?? ( #5845 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
Bond_009
91c2a57b28
Enable nullable reference types for MediaBrowser.Common
4 years ago
BaronGreenback
65f880be32
Keep plugin status after update.
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
Bond_009
a6d0db5d04
100% branch coverage for DashboardController
4 years ago
dkanada
64cc5889f2
add suggested changes
4 years ago
dkanada
bc746b4d05
merge branch 'master' into auto-manifest
4 years ago
Bond_009
57102090d3
Add tests for DashboardController
4 years ago
dkanada
9caf311925
handle plugin manifests automatically
4 years ago
BaronGreenback
62702fa3eb
Changes as requested
4 years ago
BaronGreenback
621e6d28cd
Fallback to default guid
4 years ago
BaronGreenback
3633996a53
New json converter implemented.
4 years ago
BaronGreenback
53e280b80f
json name override.
4 years ago
BaronGreenback
46c7499e2b
reverted change
4 years ago
BaronGreenback
bae8f0c4ec
corrected.
4 years ago
Greenback
5c4fdaa253
MaxAbi property removed.
4 years ago
Greenback
5d748c0e9f
Renamed to ImagePath
4 years ago
Greenback
ce19f2be55
Renamed Guid property to Id
4 years ago
Greenback
486148dd6b
Removed maxAbi
4 years ago
Greenback
5a3efc5266
Changes as required.
4 years ago
BaronGreenback
212c76102d
Update PluginManifest.cs
4 years ago
Greenback
d9aaba36ec
Copy previous plugin settings if they don't exist.
4 years ago
Greenback
6d3e1d6b57
Small Optimization
4 years ago
Greenback
5323887540
Replaced TryGetPlugin with GetPlugin
4 years ago
Greenback
eb2439f23b
Changes as recommended.
4 years ago
Greenback
fbb20ebef6
Plugin setting migration to folders.
4 years ago
Greenback
7986465cf7
Initial upload
4 years ago
BaronGreenback
cab78f40b3
[Fix] Possible null reference. ( #4585 )
...
Fix possible null reference.
4 years ago
BaronGreenback
47f3bb33f9
Update BasePlugin.cs
4 years ago
BaronGreenback
9c3e484c0e
Update BasePlugin.cs
4 years ago
BaronGreenback
ef05485243
Merge branch 'master' into PluginConfigSave
4 years ago
BaronGreenback
3ffdcfdb80
Update BasePlugin.cs
4 years ago
crobibero
d608ab8042
Fix null reference when saving plugin configuration
4 years ago
Bond-009
331c7f8481
Merge pull request #4253 from BaronGreenback/fordiscussion
...
DI in plugins
4 years ago
BaronGreenback
51996cd34d
Update BasePlugin.cs
4 years ago
BaronGreenback
957b5df0f0
Update MediaBrowser.Common/Plugins/IPluginServiceRegistrator.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
BaronGreenback
429de72443
Update MediaBrowser.Common/Plugins/BasePlugin.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
crobibero
73f923c8d5
Use class instead of struct
4 years ago
BaronGreenback
38da2ee26e
Merge branch 'master' into update-plugin
4 years ago
BaronGreenback
be4e5eff9c
Update BasePlugin.cs
4 years ago
BaronGreenback
257acbc2c9
Update BasePlugin.cs
4 years ago
BaronGreenback
53bea919d0
Update IPluginServiceRegistrator.cs
4 years ago
BaronGreenback
f7cc2f785c
Rename IPluginRegistrar.cs to IPluginServiceRegistrator.cs
4 years ago
BaronGreenback
ae8a3bc02c
Update MediaBrowser.Common/Plugins/IPluginRegistrar.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago