C# Class Google.VersionHandler.FileMetadataByVersion

Set of FileMetadata ordered by version.
Mostrar archivo Open project: googlesamples/unity-jar-resolver

Public Properties

Property Type Description
filenameCanonical string

Private Properties

Property Type Description

Public Methods

Method Description
Add ( FileMetadata metadata ) : void

Add metadata to the set.

EnableMostRecentPlugins ( ) : bool

If this instance references a set of plugins, enable the most recent versions.

FileMetadataByVersion ( string filenameCanonical ) : UnityEngine

Construct an instance.

FindObsoleteVersions ( ) : HashSet

Get all versions older than the newest version of each file with multiple versions specified in its' metadata.

this ( long version ) : FileMetadata

Get FileMetadata from this object given a version number.

Method Details

Add() public method

Add metadata to the set.
public Add ( FileMetadata metadata ) : void
metadata FileMetadata
return void

EnableMostRecentPlugins() public method

If this instance references a set of plugins, enable the most recent versions.
public EnableMostRecentPlugins ( ) : bool
return bool

FileMetadataByVersion() public method

Construct an instance.
public FileMetadataByVersion ( string filenameCanonical ) : UnityEngine
filenameCanonical string Filename with metadata stripped. ///
return UnityEngine

FindObsoleteVersions() public method

Get all versions older than the newest version of each file with multiple versions specified in its' metadata.
public FindObsoleteVersions ( ) : HashSet
return HashSet

this() public method

Get FileMetadata from this object given a version number.
public this ( long version ) : FileMetadata
version long Version to search for.
return FileMetadata

Property Details

filenameCanonical public_oe property

Name of the file with metadata removed.
public string filenameCanonical
return string