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

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