コード例 #1
0
 public DescribeContext Form(string name, Func <IShapeFactory, dynamic> shape, Action <dynamic, ImportContentContext> importing, Action <dynamic, ExportContentContext> exporting)
 {
     _descriptors[name] = new FormDescriptor {
         Name = name, Shape = shape, Import = importing, Export = exporting
     };
     return(this);
 }
コード例 #2
0
 public DescribeContext Form(string name, Func <IShapeFactory, dynamic> shape)
 {
     _descriptors[name] = new FormDescriptor {
         Name = name, Shape = shape
     };
     return(this);
 }
コード例 #3
0
ファイル: IFormProvider.cs プロジェクト: anycall/Orchard
 public DescribeContext Form(string name, Func<IShapeFactory, dynamic> shape, Action<dynamic, ImportContentContext> importing, Action<dynamic, ExportContentContext> exporting) {
     _descriptors[name] = new FormDescriptor { Name = name, Shape = shape, Import = importing, Export = exporting};
     return this;
 }
コード例 #4
0
ファイル: IFormProvider.cs プロジェクト: anycall/Orchard
 public DescribeContext Form(string name, Func<IShapeFactory, dynamic> shape) {
     _descriptors[name] = new FormDescriptor { Name = name, Shape = shape };
     return this;
 }