C# Класс Google.VersionHandler.FileMetadataSet

Set of FileMetadata grouped by filename with metadata stripped. For example, "stuff_tEditor_v1.0.0.dll" and "stuff_tEditor_v1.0.1.dll" will be referenced by FileMetadataVersions using the key "stuff.dll".
Показать файл Открыть проект

Открытые методы

Метод Описание
Add ( FileMetadata metadata ) : void

Add file metadata to the set.

EnableMostRecentPlugins ( ) : bool

For each plugin (DLL) referenced by this set, disable targeting for all versions and re-enable platform targeting for the most recent version.

FileMetadataSet ( ) : UnityEngine

Construct an instance.

FindMetadata ( string filenameCanonical, long version ) : FileMetadata

Search for metadata for an existing file given a canonical filename and version.

FindWithPendingUpdates ( FileMetadataSet metadataSet ) : FileMetadataSet

Filter the a set for files which have multiple versions and those with metadata that selects the set of target platforms.

ParseFromFilenames ( string filenames ) : FileMetadataSet

Parse metadata from a set of filenames.

Описание методов

Add() публичный Метод

Add file metadata to the set.
public Add ( FileMetadata metadata ) : void
metadata FileMetadata
Результат void

EnableMostRecentPlugins() публичный Метод

For each plugin (DLL) referenced by this set, disable targeting for all versions and re-enable platform targeting for the most recent version.
public EnableMostRecentPlugins ( ) : bool
Результат bool

FileMetadataSet() публичный Метод

Construct an instance.
public FileMetadataSet ( ) : UnityEngine
Результат UnityEngine

FindMetadata() публичный Метод

Search for metadata for an existing file given a canonical filename and version.
public FindMetadata ( string filenameCanonical, long version ) : FileMetadata
filenameCanonical string Name of the file set to search /// for.
version long Version number of the file in the set.
Результат FileMetadata

FindWithPendingUpdates() публичный статический Метод

Filter the a set for files which have multiple versions and those with metadata that selects the set of target platforms.
public static FindWithPendingUpdates ( FileMetadataSet metadataSet ) : FileMetadataSet
metadataSet FileMetadataSet Set to filter.
Результат FileMetadataSet

ParseFromFilenames() публичный статический Метод

Parse metadata from a set of filenames.
public static ParseFromFilenames ( string filenames ) : FileMetadataSet
filenames string
Результат FileMetadataSet