mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Simplified usages in UIX project
This commit is contained in:
@@ -13,12 +13,12 @@ namespace Microsoft.Iris
|
||||
{
|
||||
private IDictionary<string, int> _propertyNameToId;
|
||||
|
||||
public SimpleAnimationPropertyMap(IDictionary<string, int> propertyNameToId) => this._propertyNameToId = propertyNameToId;
|
||||
public SimpleAnimationPropertyMap(IDictionary<string, int> propertyNameToId) => _propertyNameToId = propertyNameToId;
|
||||
|
||||
public uint GetPropertyId(string propertyName)
|
||||
{
|
||||
int num;
|
||||
this._propertyNameToId.TryGetValue(propertyName, out num);
|
||||
_propertyNameToId.TryGetValue(propertyName, out num);
|
||||
return (uint)num;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user