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])); }
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)); }