コード例 #1
0
ファイル: NamespaceTask.cs プロジェクト: tudway/Codge
 public PathAndContent Execute(Context context)
 {
     return(TaskProcessor.Execute(TaskInput, new[] {
         new KeyValuePair <string, object>("model", NamespaceDescriptor.TypeSystem),
         new KeyValuePair <string, object>("namespace", NamespaceDescriptor)
     }));
 }
コード例 #2
0
ファイル: TypeTask.cs プロジェクト: tudway/Codge
 public bool IsApplicable()
 {
     return(TaskProcessor.IsApplicable(TaskInput, new[] {
         new KeyValuePair <string, object>("model", Descriptor.Namespace.TypeSystem),
         new KeyValuePair <string, object>("namespace", Descriptor.Namespace),
         new KeyValuePair <string, object>("type", Descriptor)
     }));
 }
コード例 #3
0
 public PathAndContent Execute(Context context)
 {
     return(TaskProcessor.Execute(TaskInput, new[] { new KeyValuePair <string, object>("model", Model) }));
 }