SetType() public method

public SetType ( string type ) : void
type string
return void
Esempio n. 1
0
 // TODO テストを書く
 public Pointcut DeepCopy()
 {
     var copy = new Pointcut();
     copy.SetElementType(GetPointcutType());
     copy.SetName(GetName());
     copy.SetType(GetTargetType());
     // TODO パラメータもコピーする
     foreach (var name in GetTargetName()) {
         copy.SetTarget(name);
     }
     return copy;
 }
Esempio n. 2
0
        // TODO テストを書く
        public Pointcut DeepCopy()
        {
            var copy = new Pointcut();

            copy.SetElementType(GetPointcutType());
            copy.SetName(GetName());
            copy.SetType(GetTargetType());
            // TODO パラメータもコピーする
            foreach (var name in GetTargetName())
            {
                copy.SetTarget(name);
            }
            return(copy);
        }