Example #1
0
    protected override Task InitializeAsync()
    {
        // Create view models
        BinaryToolViewModels.AddRange(new UtilityViewModel[]
        {
            new UtilityViewModel(new Utility_Archives()),
            new UtilityViewModel(new Utility_Serializers()),
            new UtilityViewModel(new Utility_Converters()),
            new UtilityViewModel(new Utility_Decoders()),
        });
        OtherViewModels.AddRange(new UtilityViewModel[]
        {
            new UtilityViewModel(new Utility_SyncTextureInfo()),
            new UtilityViewModel(new Utility_R1PasswordGenerator()),
        });
        ExternalToolViewModels.AddRange(new UtilityViewModel[]
        {
            new UtilityViewModel(new Utility_Ray1Editor()),
        });

        return(Task.CompletedTask);
    }
Example #2
0
 public void Dispose()
 {
     BinaryToolViewModels.DisposeAll();
     OtherViewModels.DisposeAll();
     ExternalToolViewModels.DisposeAll();
 }