public AssetEntry(List <AssetVariableDefinition> variableDefinitions) { VariableDefinitions = variableDefinitions; Variables = new AssetVariable[VariableDefinitions.Count]; for (int i = 0; i < VariableDefinitions.Count; i++) { AssetVariableDefinition varDef = VariableDefinitions[i]; Variables[i] = new AssetVariable(varDef); } }
public AssetVariable(AssetVariableDefinition varDef) { Definition = varDef; }