Table of Contents

Class PpkOnDriveDC

Namespace
SunamoDevCode
Assembly
SunamoDevCode.dll

Checking whether string is already contained.

public class PpkOnDriveDC : PpkOnDriveDevCodeBase<string>, IList<string>, ICollection<string>, IReadOnlyList<string>, IReadOnlyCollection<string>, IEnumerable<string>, IList, ICollection, IEnumerable
Inheritance
PpkOnDriveDC
Implements
Inherited Members
Extension Methods

Constructors

PpkOnDriveDC(PpkOnDriveDevCodeArgs)

Creates instance with the given arguments.

public PpkOnDriveDC(PpkOnDriveDevCodeArgs args)

Parameters

args PpkOnDriveDevCodeArgs

Configuration arguments for the collection.

PpkOnDriveDC(string, bool)

Creates instance from a file path with optional loading.

public PpkOnDriveDC(string filePath, bool isLoading = true)

Parameters

filePath string

Path to the backing file.

isLoading bool

Whether to load content immediately.

PpkOnDriveDC(string, bool, bool)

Creates instance from a file path with loading and saving options.

public PpkOnDriveDC(string filePath, bool isLoading, bool isSaving)

Parameters

filePath string

Path to the backing file.

isLoading bool

Whether to load content immediately.

isSaving bool

Whether to save content on changes.

Properties

RemoveDuplicates

Whether to remove duplicate entries when loading.

public bool RemoveDuplicates { get; set; }

Property Value

bool

Methods

Load()

Loads the collection data from the file specified in PpkOnDriveDevCodeArgs.

public override Task Load()

Returns

Task

Load(string)

Loads content from the specified file path.

public Task Load(string filePath)

Parameters

filePath string

Path to load from.

Returns

Task