Skip to content

Instantly share code, notes, and snippets.

View spixy's full-sized avatar

Henrich Horváth spixy

View GitHub Profile
/// <summary>
/// Hosted service base class
/// </summary>
public abstract class HostedServiceBase : IHostedService, IDisposable
{
private readonly TimeSpan dueTime;
private readonly TimeSpan period;
private Timer timer;
/// <summary>
public class Undo : IDisposable
{
private readonly Action _undoFunc;
private static Action CreateUndoFunc<TResult>(object obj, MemberInfo memberInfo, TResult newValue)
{
TResult oldValue;
switch (memberInfo)
{
1.704,40 € asturianu
1.704,40 € asturianu (España)
1 704,40 € Breton
1 704,40 € Breton (France)
1.704,40 € Catalan
1.704,40 € català (Andorra)
1.704,40 € Catalan (Catalan)
1.704,40 € Valencian (Spain)
1.704,40 € català (França)
1.704,40 € català (Itàlia)
public unsafe struct Pointer<T>
{
private void* m_value;
public T Value
{
get => Unsafe.Read<T>(m_value);
set => Unsafe.Write(m_value, value);
}
E/Unity (25146): Unable to find hello-jni
I/Unity (25146): DllNotFoundException: hello-jni
I/Unity (25146): at (wrapper managed-to-native) Main:intFromJNI ()
I/Unity (25146): at Main.Start () [0x00000] in <filename unknown>:0
I/Unity (25146): UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
I/Unity (25146): UnityEngine.DebugLogHandler:LogException(Exception, Object)
I/Unity (25146): UnityEngine.Logger:LogException(Exception, Object)
I/Unity (25146): UnityEngine.Debug:LogException(Exception)
I/Unity (25146): Main:Start()