コード例 #1
0
        public static T ResolveMember <T>(NativeRuntime.IFabricServiceGroupPartition serviceGroupPartition, Uri name) where T : class
        {
            Requires.Argument("name", name).NotNull();

            object member = Utility.WrapNativeSyncInvoke(() => ServiceGroupPartitionHelper.InternalResolveMember(serviceGroupPartition, name), "IFabricServiceGroupPartition.ResolveMember");

            return(member as T);
        }
コード例 #2
0
        public T ResolveMember <T>(Uri name) where T : class
        {
            Requires.Argument("name", name).NotNull();

            return(ServiceGroupPartitionHelper.ResolveMember <T>(this.nativeServiceGroupPartition, name));
        }