/// <summary> /// DataPack�� ���ο� ������Ƽ�� �߰��Ѵ�. /// </summary> /// <param name="name">�߰��� ������Ƽ �̸�</param> /// <param name="type">������Ƽ Ÿ��</param> public void AddProperty(string name, Type type) { DataPackPropertyDescriptor pd = new DataPackPropertyDescriptor(name,type); _properties.Add(pd); }
/// <summary> /// DataPack�� ���ο� ������Ƽ�� �߰��Ѵ�. (�ʱⰪ ��������) /// </summary> /// <param name="name">�߰��� ������Ƽ �̸�</param> /// <param name="type">������Ƽ Ÿ��</param> /// <param name="initialValue">�ʱⰪ</param> public void AddProperty(string name, Type type, object initialValue) { DataPackPropertyDescriptor pd = new DataPackPropertyDescriptor(name,type); _properties.Add(pd); pd.SetValue(this,initialValue); }