예제 #1
0
        public static UID CreateUID([NotNull] Type type)
        {
            Assert.ArgumentNotNull(type, nameof(type));

            return(new UIDClass {
                Value = ComUtils.FormatGuid(type.GUID)
            });
        }
예제 #2
0
 public static UID CreateUID(Guid guid)
 {
     return(new UIDClass {
         Value = ComUtils.FormatGuid(guid)
     });
 }