예제 #1
0
 public ProfileInfo(Colosoft.Security.Profile.ProfileInfo a)
 {
     this.ProfileId        = a.ProfileId;
     this.FullName         = a.FullName;
     this.IsAnonymous      = a.IsAnonymous;
     this.LastActivityDate = a.LastActivityDate;
     this.LastUpdatedDate  = a.LastUpdatedDate;
     this.Source           = a.Source == null ? null : new AuthenticationSource(a.Source);
     this.UserName         = a.UserName;
     this.MarkGroupId      = a.MarkGroupId;
 }
예제 #2
0
 /// <summary>
 /// Cria uma nova instancia a partir de dados existentes.
 /// </summary>
 /// <param name="info"></param>
 public ProfileInfoWrapper(Colosoft.Security.Profile.ProfileInfo info)
 {
     this.ProfileId        = info.ProfileId;
     this.UserName         = info.UserName;
     this.FullName         = info.FullName;
     this.SearchMode       = info.SearchMode;
     this.Source           = info.Source != null ? new AuthenticationSource(info.Source) : null;
     this.LastUpdatedDate  = info.LastUpdatedDate;
     this.LastActivityDate = info.LastActivityDate;
     this.IsAnonymous      = info.IsAnonymous;
     this.MarkGroupId      = info.MarkGroupId;
     this.SellerTreeId     = info.SellerTreeId;
     this.IntermediateId   = info.IntermediateId;
 }