RazorFileInfo Class

Syntax

public class RazorFileInfo

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.Razor.Precompilation.RazorFileInfo

Properties

FullTypeName()

Type name including namespace.

Return type:System.String
public string FullTypeName { get; set; }
Hash()

A hash of the file content.

Return type:System.String
public string Hash { get; set; }
HashAlgorithmVersion()

The version of hash algorithm used to generate [Microsoft.AspNet.Mvc.Razor.Precompilation.RazorFileInfo.Hash](Microsoft.AspNet.Mvc.Razor.Precompilation.RazorFileInfo.yml).

Return type:System.Int32
public int HashAlgorithmVersion { get; set; }
LastModified()

Last modified at compilation time.

Return type:System.DateTimeOffset
public DateTimeOffset LastModified { get; set; }
Length()

The length of the file in bytes.

Return type:System.Int64
public long Length { get; set; }
RelativePath()

Path to to the file relative to the application base.

Return type:System.String
public string RelativePath { get; set; }