Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
IContentReference.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 
5 namespace SiliconStudio.Core.Serialization
6 {
7  /// <summary>
8  /// An interface that provides a reference to an asset.
9  /// </summary>
10  public interface IContentReference
11  {
12  /// <summary>
13  /// Gets the asset unique identifier.
14  /// </summary>
15  /// <value>The identifier.</value>
16  Guid Id { get; }
17 
18  /// <summary>
19  /// Gets the location.
20  /// </summary>
21  /// <value>The location.</value>
22  string Location { get; }
23  }
24 
25 
26  /// <summary>
27  /// A typed <see cref="IContentReference"/>
28  /// </summary>
30  {
31  /// <summary>
32  /// Gets the type of this content reference.
33  /// </summary>
34  /// <value>The type.</value>
35  Type Type { get; }
36  }
37 }
An interface that provides a reference to an asset.