Batman.MVC.Assets.Asset.Asset C# (CSharp) Method

Asset() public method

Constructor
public Asset ( string Path ) : System
Path string Path to the asset
return System
        public Asset(string Path)
        {
            this.Path = Path;
            this.Included = new List<IAsset>();
            this.Manager = BatComputer.Bootstrapper.Resolve<AssetManager>();
            this.Type = Manager.DetermineType(Path);
            IFile File = BatComputer.Bootstrapper.Resolve<FileManager>().File(Path);
            this.LastModified = File.Modified;
            this.Content = File.Read();
            this.Minified = File.FullName.ToUpperInvariant().Contains(".MIN.");
        }