예제 #1
0
        public new static KernelResult RemoveName(KernelContext context, string name)
        {
            KAutoObject foundObj = FindNamedObject(context, name);

            if (!(foundObj is KClientPort))
            {
                return(KernelResult.NotFound);
            }

            return(KAutoObject.RemoveName(context, name));
        }
예제 #2
0
        public new static KernelResult RemoveName(Horizon system, string name)
        {
            KAutoObject foundObj = FindNamedObject(system, name);

            if (!(foundObj is KClientPort))
            {
                return(KernelResult.NotFound);
            }

            return(KAutoObject.RemoveName(system, name));
        }
예제 #3
0
        public new static KernelResult RemoveName(Horizon System, string Name)
        {
            KAutoObject FoundObj = KAutoObject.FindNamedObject(System, Name);

            if (!(FoundObj is KClientPort))
            {
                return(KernelResult.NotFound);
            }

            return(KAutoObject.RemoveName(System, Name));
        }