Exemplo n.º 1
0
 public static AccSpec CloneAcc(IAcc acc)
 {
     return(new AccSpec
     {
         Name = acc.Name,
         IsEquivalentTo = acc.IsEquivalentTo,
         Bccs = new List <BccSpec>(acc.Bccs.Convert(o => BccSpec.CloneBcc(o))),
         Asccs = new List <AsccSpec>(acc.Asccs.Convert(o => AsccSpec.CloneAscc(o))),
         BusinessTerms = new List <string>(acc.BusinessTerms),
         Definition = acc.Definition,
         LanguageCode = acc.LanguageCode,
         VersionIdentifier = acc.VersionIdentifier,
         UsageRules = new List <string>(acc.UsageRules),
     });
 }