コード例 #1
0
 public IProvider QueryInterface(Type refType, Version queryVer)
 {
     if (ApplicationEnvironment.InterfaceGuidCompare(ApplicationEnvironment.GetInterfaceGuid(refType), base.GetType()) && ApplicationEnvironment.InterfaceVersionCompare(ApplicationEnvironment.GetInterfaceVersion(refType), queryVer))
     {
         return(this);
     }
     return(null);
 }