C# Class TESVSnip.Domain.Services.CloneTool

Helper class for cloning records. Keeps track of masters used by various plugins before adding
Afficher le fichier Open project: figment/tesvsnip Class Usage Examples

Private Properties

Свойство Type Description
Clone TESVSnip.Domain.Model.BaseRecord
Clone IEnumerable
PrepMasters void

Méthodes publiques

Méthode Description
CloneTool ( Plugin destPlugin, bool bOverride = true ) : System
CopyRecordsTo ( BaseRecord src ) : int

Actually perform the copy

GetPluginFromNode ( BaseRecord node ) : Plugin

Private Methods

Méthode Description
Clone ( BaseRecord record, bool bRecursive ) : BaseRecord
Clone ( IEnumerable records, bool bRecursive ) : IEnumerable
PrepMasters ( IEnumerable records ) : void

Search through records and determine what masters to add prior to replacement

Method Details

CloneTool() public méthode

public CloneTool ( Plugin destPlugin, bool bOverride = true ) : System
destPlugin TESVSnip.Domain.Model.Plugin
bOverride bool
Résultat System

CopyRecordsTo() public méthode

Actually perform the copy
public CopyRecordsTo ( BaseRecord src ) : int
src TESVSnip.Domain.Model.BaseRecord
Résultat int

GetPluginFromNode() public static méthode

public static GetPluginFromNode ( BaseRecord node ) : Plugin
node TESVSnip.Domain.Model.BaseRecord
Résultat TESVSnip.Domain.Model.Plugin