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".
파일 보기 프로젝트 열기: googlesamples/unity-jar-resolver

공개 메소드들

메소드 설명
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