public MasterItem CreateMasterItem(Assembly configAssembly, MasterCode symbolCode, MasterName symbolName, params MasterCode[] symbolPath) { MasterStub elementStub = CreateSourceClassStub(configAssembly, symbolCode, symbolName); MasterItem elementItem = new ArticleConfigMaster(symbolCode, symbolName, elementStub, symbolPath); return(elementItem); }
public virtual object Clone() { ArticleConfigMaster cloneMaster = (ArticleConfigMaster)this.MemberwiseClone(); cloneMaster.InternalRole = this.InternalRole; cloneMaster.InternalName = this.InternalName; cloneMaster.InternalPath = this.InternalPath.ToList(); cloneMaster.InternalStub = CloneUtils <ConfigStub> .CloneOrNull(this.InternalStub); return(cloneMaster); }