Ticket #276 (closed task: fixed)

Opened 5 years ago

Last modified 4 years ago

Implement Eraser Registrar Interface

Reported by: Joel Owned by: Joel
Priority: major Milestone: Eraser 6.1/6.2
Component: Core Version:
Keywords: Cc:
Processor Architecture: Blocked By:
Blocking: #275, #279 Operating System:

Description (last modified by Joel) (diff)

The current interface is rather weird since we have got 4 different manager interfaces.

Erasure methods could be based on an interface: IErasureMethod, IChainedErasureMethod

  • The Guid property of all Erasure methods should be static; implement the Guid property as an interface member instead. This allows us to refer to the erasure method by class name instead of by Guid.

Blocking

IdSummaryMilestone
#276Implement Eraser Registrar InterfaceEraser 6.1/6.2
#275Code ReviewEraser 6.1/6.2
#262Localise the Util.Native and Util librariesEraser 6.1/6.2
#279Implement Custom Erasure TypesEraser 6.1/6.2
#226Progressive corrupting of files as a wipe methodEraser 6.1/6.2
#58Eraser Watched FolderEraser 6.1/6.2
#60Eraser Secure Cut.Eraser 6.1/6.2
#70Cleaning up of privacy leaksEraser 6.1/6.2
#22MFT and Directory Entries erasureEraser 6.1/6.2

Blocked by

IdSummaryMilestone
#276Implement Eraser Registrar InterfaceEraser 6.1/6.2

Change History

comment:1 Changed 5 years ago by Joel

  • Blocking 275 added

comment:2 Changed 5 years ago by Joel

  • Blocking 78 added

comment:3 Changed 5 years ago by Joel

  • Blocking 20 added

comment:4 Changed 5 years ago by Joel

  • Blocking 22 added

(In #22) We need to be able to allow plugins to define new types of tasks before this can be implemented.

comment:5 Changed 5 years ago by Joel

  • Owner set to Joel
  • Status changed from new to accepted

comment:6 Changed 5 years ago by Joel

  • Blocking 279 added

comment:7 Changed 5 years ago by Joel

  • Blocking 22 removed

comment:8 Changed 5 years ago by Joel

  • Description modified (diff)

comment:9 Changed 5 years ago by Joel

  • Blocking 20, 78 removed

comment:10 Changed 4 years ago by Joel

  • Description modified (diff)

IRegistrar interface and IRegisterable interface defined in r1792

comment:11 Changed 4 years ago by Joel

  • Description modified (diff)

Implemented in r1796.

Do this:


[System.Runtime.InteropServices.Guid("guid")]
public class RegisterableClass : IRegisterable
{
    //yadda
    public Guid Guid
    {
        get { return GetType().GUID; }
    }
}

//When querying:
void Function()
{
    Guid guid = typeof(RegisterableClass).GUID;
}

comment:12 Changed 4 years ago by Joel

  • Status changed from accepted to closed
  • Resolution set to fixed

I don't see a need for the erasure method interface, really. Closing this ticket.

Note: See TracTickets for help on using tickets.