示例#1
0
 public static CreateAttributeDto ToCreateAttribute(this AttributeStateDto state)
 {
     return(state.ToCreateAttribute <CreateAttributeDto, CreateAttributeValueDto>());
 }
示例#2
0
 public static DeleteAttributeDto ToDeleteAttribute(this AttributeStateDto state)
 {
     return(state.ToDeleteAttribute <DeleteAttributeDto>());
 }
示例#3
0
 public static MergePatchAttributeDto ToMergePatchAttribute(this AttributeStateDto state)
 {
     return(state.ToMergePatchAttribute <MergePatchAttributeDto, CreateAttributeValueDto, MergePatchAttributeValueDto>());
 }
示例#4
0
 public static IAttributeCommand ToCreateOrMergePatchAttribute(this AttributeStateDto state)
 {
     return(state.ToCreateOrMergePatchAttribute <CreateAttributeDto, MergePatchAttributeDto, CreateAttributeValueDto, MergePatchAttributeValueDto>());
 }