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
#!/system/bin/sh | |
su | |
mount -o rw,remount /dev/block/mtdblock3 /system | |
chmod 777 /system/app | |
mv /system/app/Launcher/*.apk *.apk.bak | |
mv /system/app/Browser/*.apk *.apk.bak | |
mv /system/app/CMFileManager/*.apk *.apk.bak | |
mv /system/app/Helper/*.apk *.apk.bak |
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
public static class PropertyChangedExtensions | |
{ | |
public static IObservable<PropertyChangedEventArgs> ObserveIndexer(this INotifyPropertyChanged self, string indexerName = "Item") | |
{ | |
return Observable.FromEvent<PropertyChangedEventHandler, PropertyChangedEventArgs>( | |
h => (s, e) => h(e), | |
h => self.PropertyChanged += h, | |
h => self.PropertyChanged -= h) | |
.Where(e => e.PropertyName == indexerName); | |
} |
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.Reactive; | |
using System.Reflection; | |
using System.Text; | |
using MessagePack.Formatters; | |
using Reactive.Bindings; | |
namespace MessagePack.ReactivePropertyExtension | |
{ |
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
依存関係の動作「最高 マイナー」 | |
テスト名: TestMethod1 | |
テストの完全名: TaxPonTest.SettingTest.TestMethod1 | |
テスト ソース: C:\Users\yayo\Documents\Visual Studio 2017\Projects\TaxPon\TaxPonTest\SettingTest.cs : 行 19 | |
テスト成果: 失敗 | |
テスト継続時間: 0:00:00.3838875 | |
結果 のスタック トレース: | |
場所 TaxPon.Model.Setting..ctor() |
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> | |
/// テーマ変更 | |
/// </summary> | |
/// <param name="theme">theme</param> | |
/// <exception cref="NotImplementedException"></exception> | |
public void ChangeTheme(ThemeType theme) | |
{ | |
if (MainPage == null) return; | |
MainPage.Parent = null; |
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
namespace TaxPon.View.Themes | |
{ | |
public enum ThemeType | |
{ | |
Dark, | |
Light, | |
} | |
} |
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> | |
/// 多言語化されたリソースと、言語の切り替え機能を提供します。 | |
/// </summary> | |
public class ResourceService : INotifyPropertyChanged | |
{ | |
#region singleton members | |
public static ResourceService Current { get; } = new ResourceService(); | |
#endregion |