mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-07-17 07:53:30 +08:00

- includes changing settings from IDictionary<string, string> to SettingsDictionary : IDictionary<string, string> w/ GetModel<T> - also cleaned up content type creation a little --HG-- branch : dev
12 lines
542 B
C#
12 lines
542 B
C#
using System.Collections.Generic;
|
|
using Orchard.ContentManagement.MetaData.Models;
|
|
|
|
namespace Orchard.Core.Contents.Services {
|
|
public interface IContentDefinitionService : IDependency {
|
|
IEnumerable<ContentTypeDefinition> GetTypeDefinitions();
|
|
ContentTypeDefinition GetTypeDefinition(string name);
|
|
void AddTypeDefinition(ContentTypeDefinition contentTypeDefinition);
|
|
void AlterTypeDefinition(ContentTypeDefinition contentTypeDefinition);
|
|
void RemoveTypeDefinition(string name);
|
|
}
|
|
} |