示例#1
0
 /// <summary>
 ///     Generates a Guid for a file generated for a schema type.
 /// </summary>
 public static Guid GenerateGuidForType(string qualifiedName, string fileType)
 {
     return(StableGuidGenerator.GenerateGuid(StableGuidGenerator.UrlNamespace,
                                             string.Concat(qualifiedName, fileType, "Type")));
 }
示例#2
0
 /// <summary>
 ///     Generates a Guid for a directory generated for a schema package.
 /// </summary>
 public static Guid GenerateGuidForPackage(string directoryName, string fileType)
 {
     return(StableGuidGenerator.GenerateGuid(StableGuidGenerator.UrlNamespace,
                                             string.Concat(directoryName, fileType, "Package")));
 }
示例#3
0
 /// <summary>
 ///     Generates a Guid for a file generated for a component.
 /// </summary>
 public static Guid GenerateGuidForComponent(int componentId, string fileType)
 {
     return(StableGuidGenerator.GenerateGuid(StableGuidGenerator.UrlNamespace,
                                             string.Concat(componentId, fileType)));
 }