vpenades преди 1 година
родител
ревизия
93551119c7
променени са 2 файла, в които са добавени 13 реда и са изтрити 0 реда
  1. 1 0
      src/SharpGLTF.Core/Collections/IChildOfDictionary.cs
  2. 12 0
      src/SharpGLTF.Core/Schema2/gltf.Root.cs

+ 1 - 0
src/SharpGLTF.Core/Collections/IChildOfDictionary.cs

@@ -8,6 +8,7 @@ namespace SharpGLTF.Collections
     /// Implemented by children of <see cref="ChildrenDictionary{T, TParent}"/>
     /// Implemented by children of <see cref="ChildrenDictionary{T, TParent}"/>
     /// </summary>
     /// </summary>
     /// <typeparam name="TParent">The type of the parent class containing the collection.</typeparam>
     /// <typeparam name="TParent">The type of the parent class containing the collection.</typeparam>
+    [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1711:Identifiers should not have incorrect suffix", Justification = "no better option")]
     public interface IChildOfDictionary<TParent>
     public interface IChildOfDictionary<TParent>
         where TParent : class
         where TParent : class
     {
     {

+ 12 - 0
src/SharpGLTF.Core/Schema2/gltf.Root.cs

@@ -89,10 +89,22 @@ namespace SharpGLTF.Schema2
 
 
         #region properties        
         #region properties        
 
 
+        /// <summary>
+        /// List of extensions used by the current model.
+        /// </summary>
         public IEnumerable<String> ExtensionsUsed               => _extensionsUsed;
         public IEnumerable<String> ExtensionsUsed               => _extensionsUsed;
 
 
+        /// <summary>
+        /// List of extensions required by the current model.
+        /// </summary>
         public IEnumerable<String> ExtensionsRequired           => _extensionsRequired;
         public IEnumerable<String> ExtensionsRequired           => _extensionsRequired;
 
 
+        /// <summary>
+        /// List of extensions not supported by the library.
+        /// </summary>
+        /// <remarks>
+        /// Usually, this collection should be empty. Otherwise it signals this model is unusable.
+        /// </remarks>
         public IEnumerable<String> IncompatibleExtensions       => _extensionsRequired.Except(ExtensionsFactory.SupportedExtensions).ToList();
         public IEnumerable<String> IncompatibleExtensions       => _extensionsRequired.Except(ExtensionsFactory.SupportedExtensions).ToList();
 
 
         ModelRoot IConvertibleToGltf2.ToGltf2() { return this; }
         ModelRoot IConvertibleToGltf2.ToGltf2() { return this; }