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

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