You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
448 B
21 lines
448 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Prototype
|
|
{
|
|
public abstract class Prototype
|
|
{
|
|
// 필요에 따라 deep, shallow copy 선택하여 구현
|
|
public abstract Prototype Clone();
|
|
|
|
public string WebTemplate { get; protected set; }
|
|
|
|
public void SetTitle(string title)
|
|
{
|
|
this.WebTemplate = this.WebTemplate.Replace("{{title}}", title);
|
|
}
|
|
}
|
|
}
|
|
|