예제 #1
0
        public OneSpanSign.API.GroupSummary ToAPIGroupSummary()
        {
            if (sdkGroupSummary == null)
            {
                return(apiGroupSummary);
            }
            OneSpanSign.API.GroupSummary result = new OneSpanSign.API.GroupSummary();

            result.Data  = sdkGroupSummary.Data;
            result.Email = sdkGroupSummary.Email;
            result.Id    = sdkGroupSummary.Id;
            result.Name  = sdkGroupSummary.Name;

            return(result);
        }
예제 #2
0
 public GroupSummaryConverter(GroupSummary sdkGroupSummary)
 {
     this.sdkGroupSummary = sdkGroupSummary;
     this.apiGroupSummary = null;
 }
예제 #3
0
 public GroupSummaryConverter(OneSpanSign.API.GroupSummary apiGroupSummary)
 {
     this.apiGroupSummary = apiGroupSummary;
     this.sdkGroupSummary = null;
 }