コード例 #1
0
        protected virtual Uri BuildUri()
        {
            // Build a pack uri relative to the root of the supplied assembly name
            string uriStr = PackUriExtension.BuildRelativePackUriString(this.AssemblyName, this.SourcePath);

            return(new Uri(uriStr, UriKind.Relative));
        }
コード例 #2
0
        protected override Uri BuildUri()
        {
            var    source = this.SourcePath;
            string uriStr = PackUriExtension.BuildAbsolutePackUriString(this.AssemblyName, _XceedVersionInfo.Version, source);

            return(new Uri(uriStr, UriKind.Absolute));
        }