Warehouse.DepotSoftware.RegisterHooks C# (CSharp) Method

RegisterHooks() public static method

public static RegisterHooks ( ) : void
return void
        public static void RegisterHooks() {

            Hook<DepotSoftware>.CommitUpdate += (sender, depotSoftware) => {
                depotSoftware.Depot.SetModified();
            };

            Hook<DepotSoftware>.CommitInsert += (sender, depotSoftware) => {
                depotSoftware.Depot.SetModified();
            };

            Hook<DepotSoftware>.BeforeDelete += (sender, depotSoftware) => {
                depotSoftware.Depot.SetModified();
            };
        }
    }
DepotSoftware