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
argsPpkOnDriveDevCodeArgsConfiguration arguments for the collection.
PpkOnDriveDC(string, bool)
Creates instance from a file path with optional loading.
public PpkOnDriveDC(string filePath, bool isLoading = true)
Parameters
PpkOnDriveDC(string, bool, bool)
Creates instance from a file path with loading and saving options.
public PpkOnDriveDC(string filePath, bool isLoading, bool isSaving)
Parameters
filePathstringPath to the backing file.
isLoadingboolWhether to load content immediately.
isSavingboolWhether to save content on changes.
Properties
RemoveDuplicates
Whether to remove duplicate entries when loading.
public bool RemoveDuplicates { get; set; }
Property Value
Methods
Load()
Loads the collection data from the file specified in PpkOnDriveDevCodeArgs.
public override Task Load()
Returns
Load(string)
Loads content from the specified file path.
public Task Load(string filePath)
Parameters
filePathstringPath to load from.