/// /// Copyright © 2003-2008 JetBrains s.r.o. /// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder). /// using JetBrains.Omea.OpenAPI; namespace JetBrains.Omea.OpenApiEx { /// /// A factory interface for wrapping raw resources into resource objects. /// /// Resource object type. public interface IResourceObjectFactory where T : IResourceObject { /// /// Wraps the resource into a resource object. /// /// The raw Omea resource. /// The resource object attached to . T CreateResourceObject(IResource resource); } }