internal ShortcutProfile(string id, IEnumerable <SerializableShortcutEntry> entries, IShortcutProfileLoader loader = null) { m_Id = id; m_Loader = loader ?? new ShortcutProfileLoader(); m_Entries = new List <SerializableShortcutEntry>(entries); }
internal ShortcutProfile(string id, IEnumerable <SerializableShortcutEntry> entries, IShortcutProfileLoader loader = null) { m_Id = id; m_Loader = loader ?? new ShortcutProfileLoader(); foreach (var entry in entries) { m_Entries.Add(entry.identifier.path, entry); } }
internal ShortcutProfile(string id, IShortcutProfileLoader loader = null) { m_Loader = loader ?? new ShortcutProfileLoader(); m_Id = id; LoadAndApplyJsonFile(id, this); }