private void EnsureName(IDesignableControl dc) { if (string.IsNullOrEmpty(dc.DesignTimeName)) { string name = NameProvider.GetUniqueName(this, ((DesignSite)dc).HostedContent); dc.DesignTimeName = name; } }
private void EnsureName(IDesignableControl dc) { if (string.IsNullOrEmpty(dc.DesignTimeName)) { string name = NameProvider.GetUniqueName(this, ((DesignSite)dc).HostedContent); dc.DesignTimeName = name; } }