Пример #1
0
 public static Guid GetUiLayerId(TestCoreFramework.Enums.ResourceType resource, string partition = null)
 {
     return(UuidUtil.BuildPortersGuid(IdType.FieldLayout, 1, Convert.ToUInt32(partition ?? TestCoreFramework.AuthenticationInfoProvider.Current.DefaultPartition), MailLayerIds[resource]));
 }
Пример #2
0
 public static HrbcFieldReader GetReaderForInactiveFields(Enums.ResourceType resourceType, IEnumerable <FieldProperty> select)
 {
     return(new HrbcFieldReader(new[] { UuidUtil.BuildPortersGuid(IdType.FieldLayout, 0, Convert.ToUInt32(AuthenticationInfoProvider.Current.DefaultPartition), InactiveFieldsContainerIds[resourceType]) }, select));
 }