/*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
dnSpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with dnSpy. If not, see .
*/
using System;
namespace dnSpy.Contracts.Documents {
///
/// Constants
///
public static class DocumentConstants {
///
/// Order of default instance
///
public const double ORDER_DEFAULT_DOCUMENT_PROVIDER = double.MaxValue;
///
/// A normal created from a file.
/// is the filename.
///
public static readonly Guid DOCUMENTTYPE_FILE = new Guid("57E89016-3E28-43A2-88C0-42D067520C14");
///
/// A created from a file in the GAC.
/// is the assembly name.
///
public static readonly Guid DOCUMENTTYPE_GAC = new Guid("1A7BE658-FD95-46A9-BA03-A05D87161342");
///
/// A created from a file in the GAC or the reference assemblies
/// folder. is the assembly name followed by
/// followed by the path to the reference file in
/// case it's not found in the GAC.
///
public static readonly Guid DOCUMENTTYPE_REFASM = new Guid("75AB0E5C-D1D7-4811-93E1-0AF26CE3856C");
///
/// An in-memory (byte[]) assembly. is the filename or an empty
/// string. is a 'Func<(byte[]? filedata, bool isFileLayout)>'
///
public static readonly Guid DOCUMENTTYPE_INMEMORY = new Guid("132577A9-1DD6-423E-BE23-8F78795C6092");
///
/// String separating assembly full name and reference assembly path
///
public static readonly string REFERENCE_ASSEMBLY_SEPARATOR = "|";
}
}