DotNet 4.8.1 build of DotNetBar
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.Design;
|
||||
using System.Text;
|
||||
|
||||
namespace DevComponents.DotNetBar.Design
|
||||
{
|
||||
internal class GlyphServiceProvider : IServiceProvider
|
||||
{
|
||||
private IServiceProvider source;
|
||||
|
||||
public GlyphServiceProvider(IServiceProvider source)
|
||||
{
|
||||
this.source = source;
|
||||
}
|
||||
|
||||
object IServiceProvider.GetService(Type serviceType)
|
||||
{
|
||||
if (serviceType.Equals(typeof(ISelectionService)))
|
||||
return (object)null;
|
||||
return this.source.GetService(serviceType);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user