Changes

Jump to navigation Jump to search
Line 71: Line 71:  
<source lang="c#">
 
<source lang="c#">
 
// create with random manifest data
 
// create with random manifest data
IContentPack contentPack = this.Helper.ContentPack.CreateFake(
+
IContentPack contentPack = this.Helper.ContentPacks.CreateFake(
 
   directoryPath: Path.Combine(this.Helper.DirectoryPath, "content-pack"),
 
   directoryPath: Path.Combine(this.Helper.DirectoryPath, "content-pack"),
 
);
 
);
    
// create with given manifest fields
 
// create with given manifest fields
IContentPack contentPack = this.Helper.ContentPack.CreateFake(
+
IContentPack contentPack = this.Helper.ContentPacks.CreateFake(
 
   directoryPath: Path.Combine(this.Helper.DirectoryPath, "content-pack"),
 
   directoryPath: Path.Combine(this.Helper.DirectoryPath, "content-pack"),
 
   id: Guid.NewGuid().ToString("N"),
 
   id: Guid.NewGuid().ToString("N"),
translators
8,444

edits

Navigation menu