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
using System; | |
using System.Diagnostics; | |
using System.Text; | |
using Microsoft.Extensions.Primitives; | |
using Microsoft.Maui.ApplicationModel; | |
using OpenCvSharp; | |
using SkiaSharp; | |
using static System.Net.Mime.MediaTypeNames; | |
namespace MyApp |
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
using System; | |
using System.Diagnostics; | |
using OpenCvSharp; | |
namespace MyApp | |
{ | |
public static class VideoFrameDecoderHelper | |
{ | |
/// <summary> | |
/// Performs a pointer arithmetic based decoding operation from the <paramref name="frame"/> into the frame buffer. |
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
/* | |
# Released under MIT License | |
Copyright (c) 2017 insaneyilin. | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | |
associated documentation files (the "Software"), to deal in the Software without restriction, | |
including without limitation the rights to use, copy, modify, merge, publish, distribute, | |
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
using System; | |
using System.Windows.Input; | |
using Xamarin.Forms; | |
namespace MyApp.Controls | |
{ | |
public class NullableTimeChangedEventArgs : EventArgs | |
{ | |
public NullableTimeChangedEventArgs(TimeSpan? newValue, TimeSpan? oldValue) | |
{ |
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
using System; | |
using System.Collections.Generic; | |
using System.Windows.Input; | |
using Xamarin.Essentials; | |
using Xamarin.Forms; | |
namespace MyApp.Controls | |
{ | |
public class NullableDateChangedEventArgs : EventArgs | |
{ |
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
/// <summary> | |
/// Helper class to detect when .NET objects with a Java peer object have been "severed". | |
/// <para/> | |
/// Peer objects are .NET types which implement IJavaObject , e.g. all Java.Lang.Object and Java.Lang.Throwable subclasses. | |
/// Instances of these types have two "halfs" a managed peer and a native peer. | |
/// <list type="bullet"> | |
/// <item>The managed peer is an instance of the C# class.</item> | |
/// <item>The native peer is an instance of a Java class within the Android runtime VM, and the C# IJavaObject.Handle property contains a JNI global reference to the native peer.</item> | |
/// </list> | |
/// There are two types of native peers: |
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Reflection; | |
using System.Threading; | |
using UIKit; | |
public class ResizableViewCell : ViewCell | |
{ |
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
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Runtime.CompilerServices; | |
namespace MFractor.Utilities | |
{ | |
public class Profiler : IDisposable | |
{ | |
readonly string Message; |
NewerOlder