forked from Threetwosevensixseven/CSpectPlugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plugins now log info to stdout and errors to stderr.
- Loading branch information
1 parent
04697a9
commit 7e20a6b
Showing
28 changed files
with
708 additions
and
409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System.Reflection; | ||
|
||
namespace Plugins.RTCSys | ||
{ | ||
public static class AssemblyExtensions | ||
{ | ||
public static string GetAssemblyConfiguration(this Assembly assembly) | ||
{ | ||
object[] attributes = assembly.GetCustomAttributes(typeof(AssemblyConfigurationAttribute), false); | ||
|
||
AssemblyConfigurationAttribute attribute = null; | ||
if (attributes.Length > 0) | ||
{ | ||
attribute = attributes[0] as AssemblyConfigurationAttribute; | ||
} | ||
return (attribute?.Configuration ?? ""); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// AssemblyInfoExtra.cs | ||
// | ||
// Auto-generated by ZXVersion.exe | ||
|
||
using System.Reflection; | ||
|
||
[assembly: AssemblyConfiguration("04697a9")] | ||
[assembly: AssemblyCopyright("Copyright © 2019-2024 Robin Verhagen-Guest")] | ||
[assembly: AssemblyVersion("1.6.0.0")] | ||
[assembly: AssemblyFileVersion("1.6.0.0")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.