コード例 #1
0
ファイル: PersonViewed.cs プロジェクト: BricksandMortar/Rock
 /// <summary>
 /// Copies the base properties from a source PersonViewed object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(PersonViewed source)
 {
     this.Id                  = source.Id;
     this.ForeignGuid         = source.ForeignGuid;
     this.ForeignKey          = source.ForeignKey;
     this.IpAddress           = source.IpAddress;
     this.Source              = source.Source;
     this.TargetPersonAliasId = source.TargetPersonAliasId;
     this.ViewDateTime        = source.ViewDateTime;
     this.ViewerPersonAliasId = source.ViewerPersonAliasId;
     this.Guid                = source.Guid;
     this.ForeignId           = source.ForeignId;
 }
コード例 #2
0
ファイル: PersonViewed.cs プロジェクト: NewSpring/Rock
 /// <summary>
 /// Copies the base properties from a source PersonViewed object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( PersonViewed source )
 {
     this.Id = source.Id;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.IpAddress = source.IpAddress;
     this.Source = source.Source;
     this.TargetPersonAliasId = source.TargetPersonAliasId;
     this.ViewDateTime = source.ViewDateTime;
     this.ViewerPersonAliasId = source.ViewerPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }