コード例 #1
0
 public override async System.Threading.Tasks.Task<Resource> Create(PackageSource source)
 {
     var resource = await base.Create(source);
     if (resource != null)
     {
         var vsV2MetatdataResource = new V2VisualStudioUIMetadataResource((V2Resource)resource);
         return vsV2MetatdataResource;
     }
     else
     {
         return null;
     }
 }
        public override async System.Threading.Tasks.Task <Resource> Create(PackageSource source)
        {
            var resource = await base.Create(source);

            if (resource != null)
            {
                var vsV2MetatdataResource = new V2VisualStudioUIMetadataResource((V2Resource)resource);
                return(vsV2MetatdataResource);
            }
            else
            {
                return(null);
            }
        }